On 27/04/17 09:07 AM, Carlos E. R. wrote:
On 2017-04-26 19:45, Anton Aylward wrote:
BEWARE ! ! !
None of these are to be used indiscriminately for wholesale removal!
The algorithm ONLY checks for these being at the end of some kind of dependency tree. Many should not be removed.
"Orphaned" lists only those rpm that are not included in a repository. It is not exactly a cleanup.
You are failing to differentiate between the command 'rpmorphan' and the command 'zypper packages --orphaned' They are not the same; they produce two different lists. They have two different algorithms. Your assertion is true only for the latter. The former walks the while tree of dependencies in the RPM database looking for what amounts to 'end-nodes', things that have nothing depending on them. Well, OK, if it was _just_ than then it would list every executable :-) So it does a fair bit of pruning. But is is very different from the other command.
For example, the independently installed Adobe Reader from Xerox shows up, as do many fonts and many icon sets. While these can be removed without actually triggering a cascade of other things, that doesn't mean the SHOULD be removed.
They don't show here :-)
Try running both the commands. -- Do we, holding that the gods exist, deceive ourselves with insubstantial dreams and lies, while random careless chance and change alone control the world? --Euripides, Hecuba -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org