[packagefs] Cannot handle package activations with identical names
|Reported by:||waddlesplash||Owned by:||bonefish|
|Blocked By:||Blocking:||#13574, #15207|
|Has a Patch:||no||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 this code in packagefs.
Probably solving the TODO about looking packages up by node_ref rather than name would fix this.