2011/3/25 Stefan Seyfried
On Fri, 25 Mar 2011 16:49:55 -0300 Cristian Rodríguez
wrote: This has nothing to do with the package manager really, but to the very purpose of the library packaging policy, allow different library versions to be installed in parallel.
Well, if we knew that the only reason they were installed is to satisfy boost-devel, then removing them would be the sensible thing to do. If somehthing or somebody else has installed them explicitly and thus might still need them, keeping them would be sensible.
opkg tracks this:
/var/lib/opkg # egrep '^(Package|Status):' status |head Package: libz Status: install ok installed Package: opkg Status: install user installed Package: busybox Status: install user installed Package: libvorbisidec Status: install ok installed Package: strace Status: install user installed
So it knows that if nothing requires libz anymore, it can autoremove it, but it will not autoremove busybox, opkg or strace.
I'm not aware that RPM can do this.
From ZYpp's /var/log/zypp/history:
2011-03-25 22:00:21|install|libgcj-devel|4.5-19.1|x86_64||oss|6e94dc2ac0f8f3724d69cd8a6f44b97029ea03c5 2011-03-25 22:04:07|install|obs-service-download_url|0.1-12.1|noarch|root@Primero|tools|0a97b517955df181ab461288e82df198386cab3775c388ec0779f9d1fc97edf2 The empty field between x86_64 and oss is equivalent to your "ok", and root@Primero is equivalent to your "user". It requires to check the full history in case a package was installed, removed and installed again, but it's there and works. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org