* Pascal Bleser
3) did user install it explictly or it was SM call (fullfilling requirements)
It must be tracked by the package manager because RPM won't tell you.
We're planning to add 'tracking' functionality to the package manager.
And then you get into the problem that it would only work if the user always uses yast (or maybe it could be done in libzypp). If he uses "rpm -i" or smart or yum or whatever else just once, it won't be tracked. IMO point 3) is not feasible.
Its certainly not a generic solution but doable within the mentioned limitations (i.e. use only yast / zypper )
And the problem in the first place is that you can't just use "rpm - --whatrequires" to find out whether a package is needed or not, because rpm only reports Requires: with package names there. But must of the dependencies are on filenames (e.g. "libxml2.so.2" or "/bin/bash").
Thats what the dependency solver is for ;-) [...]
So.. certainly feasible in theory but not as simple as it might seem.
Agreed, it ain't easy but certainly worth a try. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org