[haiku-bugs] Re: [Haiku] #9921: [pkgman] uninstall issues

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Mon, 26 Aug 2013 10:40:11 -0000

#9921: [pkgman] uninstall issues
-----------------------------------------------+---------------------------
   Reporter:  diver                            |      Owner:  bonefish
       Type:  bug                              |     Status:  closed
   Priority:  normal                           |  Milestone:  R1
  Component:  Applications/Command Line Tools  |    Version:  R1/Package
 Resolution:  fixed                            |  Management
 Blocked By:                                   |   Keywords:
Has a Patch:  0                                |   Blocking:
                                               |   Platform:  All
-----------------------------------------------+---------------------------

Comment (by bonefish):

 Replying to [comment:7 diver]:
 > Actually, after about 10 seconds pkgman let me do it. Is there a reason
 for fetching repository checksum on uninstall?

 Only a hypothetical one, since I don't think we have such a case in our
 repository yet. When uninstalling a package that is actually needed, the
 dependency solver may suggest to install an alternative package providing
 the requirement. At this point it would be relevant to work with current
 repository data. It isn't critical, though. Not even in the regular
 install case, as long as the packages are still available on the server.

 I tested with qemu with the network interface disabled, and there was no
 delay, but I guess in other scenarios of not having internet access the
 checksum file download will hang until timing out. So disabling the auto-
 refresh for the "uninstall" operation would probably be a good idea. Maybe
 also for "search". We do have an explicit "refresh" anyway.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9921#comment:8>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: