Lukas Ocilka napsal(a):
FYI, Forwarding from yast-devel: This rather sounds libzypp-related.
Bye Lukas
<snip> REFINEMENTS to the idea above, which make it more complicated and powerful. Points 2, 4 and 5 remain as they are.
1. Make a history of installed packages, which hold following information: When Package X was installed, also packages Y + Z were installed which are in an dependency relation to X. If the dependency criterion is not used, unrelated software that was installed at the same time (e.g. two completely unrelated programs) would fall under the removal category, which is unwanted.
3. If the user decides not to remove them they should be tagged as potentially "obsolete without dependencies". If they have dependencies on W from a different installation time point, they should be marked as "obsolete with dependencies". The user could use an option in YAST to remove all obsolete packages in the installation which are tagged "obsolete without dependencies".
I think easier way is only remember package which user want explicit install (like you click on something in YaST and few others is also checked, so remember only first...same in zypper). Then make call like remove obsolete, which take this list of packages and create tree of its dependencies (also apply soft and hard locks). And uninstall everything which is not in this tree of dependencies. Pepa -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org