#15576 closed bug (duplicate)
Can't replace package with same name
Reported by: | X512 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Package Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | #15068 | Blocking: | |
Platform: | All |
Description
This is hrev53644.
When attempt to replace installed package with local package with same name and version error appear:
/Haiku/data/packages/haikuporter> pkgman install /Haiku/data/packages/haikuports/packages/mesa_swpipe-17.1.10-5-x86_64.hpkg 100% repochecksum-1 [65 bytes] Validating checksum for Haiku...done. 100% repochecksum-1 [64 bytes] Validating checksum for HaikuPorts...done. The following changes will be made: in system: upgrade package mesa_swpipe-17.1.10-5 to 17.1.10-5 from local file Continue? [yes/no] (yes) : [system] Applying changes ... *** failed to commit transaction: Failed to change the package activation in packagefs: Name in use
Changing package version cause complete package rebuild and significantly increase development cycle time.
Change History (2)
comment:1 by , 5 years ago
Blocked By: | 15068 added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
comment:2 by , 5 years ago
Note:
See TracTickets
for help on using tickets.
Replying to X512:
You could likely solve this with a simple script that calls
rm
on the installed hpkg and thenmv
s the new hpkg into place in packages/ (ormv
directly in "replace target" mode, if that's less confusing for the package_daemon).