Description of problem: After upgrading to Fedora 20, "clean_requirements_on_remove=1" in /etc/yum.conf no longer uninstalls leaves. Version-Release number of selected component (if applicable): yum-3.4.3-120.fc20.noarch How reproducible: always Steps to Reproduce: 1. set "clean_requirements_on_remove=1" in /etc/yum.conf 2. install something with dependencies. 3. uninstall it Actual results: dependencies are not uninstalled automatically. If you have yum-plugin-show-leaves, it will actually show you the leaves. but they will not be uninstalled. This is pretty cumbersome, sometimes one needs 5 or 6 iterations of manually removing the new leaves to fully uninstall all deps. Expected results: all leaves should be removed automatically. Additional info: Worked fine in F19 until I upgraded.
We can't reproduce it in F20. Might be a problem with yumdb. Can you check the yumdb attributes of the leaf package Yum does not remove? (yumdb info <pkgname>). Unless "reason = dep", Yum won't remove it, because it will be considered user-installed.
Thanks for this hint. It works for new packages that got installed with reason=dep, however with the upgrade to F20, clean_requirements_on_remove broke for all previous installed packages. Did nobody think about implementing the new yum groups as object stuff in a way that does not break backwards compatibility?
*** This bug has been marked as a duplicate of bug 979083 ***