Bug #2547
closed
Pbi manager does not remove old packages after update
Added by Carlos Cesario over 12 years ago.
Updated almost 12 years ago.
Description
Afer update the package, pbi_info show me the old package and new package ?
In this example, see the squid package
[2.1-BETA0][root@pfdev.tecnomega.local]/root(1003): pbi_info
freeradius-2.1.12_1-amd64
mbmon-205_5-amd64
open-vm-tools-nox11-425873_1-amd64
proxy_mod_security-2.2.22_5-amd64
quagga-0.99.20.1-amd64
snort-2.9.1-amd64
squid-3.1.19-amd64 <--------------------------- Old
squid-3.1.20-amd64 <--------------------------- New
squidguard-1.4_4-amd64
zabbix-agent-1.8.13-amd64
The old package should be removed. Right?
The process of package update consists on uninstall the old version and install the new one. If PBI was left, it was probably a problem that happened during squid3 uninstall process.
I've installed and uninstalled squid3 and other packages and every time the pbi was removed.
There were many updates on this package since you reported the issue, could you please confirm if this problem persists on recent snapshots and recent package versions?
- Status changed from New to Feedback
- Assignee set to Renato Botelho
I believe that this was all sorted out some time ago. I just tested with the small package "blinkled"" on nanobsd:
installed blinkled
pbi_info - blinkled is listed
removed blinkled
pbi_info - blinkled is not listed
installed blinkled
pbi_info - blinkled is listed
reboot
pbi_info - blinkled is still listed (the pbi data is preserved across reboots, even on nanobsd)
removed blinkled
pbi_info - blinkled is not listed
So that all works. It's a bit harder to quickly test what happens when the currently installed package pbi version and the upgraded pbi version are different.
- Status changed from Feedback to Closed
When the version is different it should work in the same way since it runs an uninstall for old before install the new version.
3.1.19 was the fist squid3 version using pbi, it was probably an issue on squid package at that time that doesn't exist today.
Also available in: Atom
PDF