#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.