[haiku-bugs] Re: [Haiku] #11035: Upgrading Haiku using pkgman fails with "directory not empty"

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 16 Jul 2014 17:37:22 -0000

#11035: Upgrading Haiku using pkgman fails with "directory not empty"
--------------------------------------+----------------------------
   Reporter:  waddlesplash            |      Owner:  bonefish
       Type:  bug                     |     Status:  new
   Priority:  normal                  |  Milestone:  R1/alpha5
  Component:  Servers/package_daemon  |    Version:  R1/Development
 Resolution:                          |   Keywords:
 Blocked By:                          |   Blocking:
Has a Patch:  0                       |   Platform:  All
--------------------------------------+----------------------------

Comment (by bonefish):

 hrev47490 changes the HPKG format for the no-compression case. It's a
 backward compatible change, but it isn't forward compatible. The boot
 loader package uses no compression and thus the new packages cannot be
 read by an old Haiku, hence the update procedure fails. I didn't see this
 implication.

 To bridge the gap, at least in theory it should be possible to update
 every package but the boot loader, then reboot and complete the update.

 Not getting a useful error message (not even printing anything in the
 syslog) is not a good situation, though. Leaving the ticket open to track
 that. The failed update isn't anything that can be fixed.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11035#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: