Dominique Leuenberger wrote:
same problem have previous sollution, because we remember only dependencies of package installed by libzypp frontend (yast, zypper...). So when you install some dependency via rpm, then we don't know it.
Pepa
Indeed, but I think it's less 'risky', as we will probably not rip out any dependency that we see is still in use. If we remember only leaf packages, and remove all leaf packages that are not in use, we get out all the addons a user might install.
You can detect and remember packages installed by RPM as explicitly installed. There should exist a GUI to view explicitly tagged packages, to tag and untag them as explicitly required. Additionally it would be very useful to save this list and even make this list as an optional start point for package installation on upgrade or fresh install to another partition (it would require evaluation of provides/obsoletes on top of this list).
If we remember all the dependencies that were pulled it automatically and only care for those, all leaf packages and dependency packages a user installs (using rpm or on request using zypper) are not in the automatic dependency tree and are thus not affected.
It is still possible to offer "Full dependency cleanup". It exist for example in Gentoo as depclean. It is very dangerous there. Depclean would be a very powerful dependency exercise for our packages. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org