Description of problem: I wanted to try taskjuggler on my machine, but then decided to uninstall it and since I moved to remove the large kdelibs3 dependency I used remove-with-leaves: and it wants to remove sudo which is not nice. Version-Release number of selected component (if applicable): yum-utils-1.1.26-1 How reproducible: every time Steps to Reproduce: 1. yum install taskjuggler 2. yum remove --remove-leaves taskjuggler Actual results: offers to remove sudo Expected results: not to remove sudo program Additional info: Further annoying since after sudo is reinstalled its configuration needs to be moved back.
================================================================================ Package Arch Version Repository Size ================================================================================ Removing: arts i686 8:1.5.10-12.fc13 @fedora 3.9 M audiofile i686 1:0.2.6-11.fc12 @fedora 254 k fedora-kde-icon-theme noarch 0.0.2-2.fc13 @fedora 39 k kde-filesystem noarch 4-35.fc13 @fedora 3.7 k kde-settings noarch 4.4-16.fc13 @fedora 70 k kdelibs-common i686 6:4.4.2-4.fc13 @fedora 2.7 M kdelibs3 i686 3.5.10-23.fc13 @fedora 38 M kdepim3-libs i686 3.5.10-3.fc13 @fedora 2.3 M libutempter i686 1.1.5-4.fc12 installed 36 k sudo i686 1.7.2p6-1.fc13 @updates-testing 886 k taskjuggler i686 2.4.3-3.fc12 @fedora 1.8 M Removing for dependencies: taskjuggler-libs i686 2.4.3-3.fc12 @fedora 1.0 M
Hmm, ok I found --leaves-exclude-bin: $ sudo yum remove --leaves-exclude-bin remove taskjuggler : ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: taskjuggler i686 2.4.3-3.fc12 @fedora 1.8 M Removing for dependencies: taskjuggler-libs i686 2.4.3-3.fc12 @fedora 1.0 M Maybe I am just optimistically expecting too much from the plugin or we should separate bin from libs more keenly in fedora...
The other thing, on my TODO, is to have a mode (and make it the default) which only removes leaves which have "reason=dep" set in the yumdb.
Ah that sounds very cool. :)
This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
(In reply to comment #3) > The other thing, on my TODO, is to have a mode (and make it the default) which > only removes leaves which have "reason=dep" set in the yumdb. Did it get any closer to the top of your list? :) I just tried "yum remove --remove-leaves taskjuggler" in F15 and it didn't attempt to remove sudo at least. Not sure if that is because of dependency changes or above? :)
Well, I managed to convince someone else to do it ... but, yeh, clean_requirements_on_remove got changed to look at reason, and generally be a lot more clever. And remove-with-leaves got changed to look at reason.
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.