[haiku-bugs] [Haiku] #15068: [packagefs] Cannot handle package activations with identical names

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 15 May 2019 20:34:39 -0000

#15068: [packagefs] Cannot handle package activations with identical names
------------------------------------+------------------------------
 Reporter:  waddlesplash            |        Owner:  bonefish
     Type:  bug                     |       Status:  new
 Priority:  normal                  |    Milestone:  Unscheduled
Component:  File Systems/packagefs  |      Version:  R1/Development
 Keywords:                          |   Blocked By:
 Blocking:                          |  Has a Patch:  0
 Platform:  All                     |
------------------------------------+------------------------------
 If you try to update or activate a package with an identical name
 (including revision) to an installed package, this occurs:
 {{{
 [system] Applying changes ...
 *** failed to commit transaction: Failed to change the package activation
 in packagefs: Name in use
 }}}
 That's because of [http://xref.plausible.coop/source/xref/haiku/src/add-
 ons/kernel/file_systems/packagefs/volume/Volume.cpp#1523 this] code in
 packagefs.

 Probably solving the TODO about looking packages up by node_ref rather
 than name would fix this.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15068>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: