Description of problem: The yum-remove-with-leaves plugin is too aggressive and should be made into a commandline option so that it is not enabled by default if installed: it practically makes yum unusable. Steps to Reproduce: 1. yum install yum-* 2. yum upgrade Actual results: 2. yum-remove-with-leaves starts trying to suggest removing lots of leaf packages, etc Expected results: 2. no packages to be removed by default.
So, We can make it an option, but there are two things here: 1. the problem you saw with an update trying to remove things has been fixed in upstream. It was a bug w/how remove-with-leaves looked up what was being removed. 2. yum --disable-plugin=remove-with-leaves update is the equivalent to disabling the option. Do we actually need another option?
(In reply to comment #1) > 1. the problem you saw with an update trying to remove things has been fixed in > upstream. It was a bug w/how remove-with-leaves looked up what was being > removed. Cool > Do we actually need another option? If it is safe to enable it by default then maybe not.
For me its unsafe, too!! I just wanted to update my system, but the plugin tries to erase packages, needed by the packages to update. Maybe, it thinks, that the packages to be updated, are not installed on the system, so the dependencies are not needed anymore, and will be deleted… Definitely a bug. If this can be solved, it can stay, but to split remove-leaves from update, will be a nicer and easier solution.
we've already fixed the bug you noticed. So, it shouldn't be a problem.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
i have changed the plugin to only be active if '--remove-leaves' is added to the commandline or 'remove_always=1' is added to the plugin conf file. It will be available in next release of yum-utils you can test it by getting this file http://yum.baseurl.org/gitweb?p=yum-utils.git;a=blob_plain;f=plugins/remove-with-leaves/remove-with-leaves.py;hb=5fe8db1bffd48f8000cedebeffea7c2f56dffb41 and copy it into /usr/lib/yum-plugins/