Description of problem: Recently, I updated my system from F20 -> F21 and since that time, I have four kernels on my system: $ rpm -q kernel kernel-3.16.4-200.fc20.x86_64 kernel-3.16.6-200.fc20.x86_64 kernel-3.17.3-200.fc20.x86_64 kernel-3.17.3-300.fc21.x86_64 Now I want to install new package: $ sudo dnf install gitg Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gitg x86_64 3.14.0-1.fc21 fedora 304 k gitg-libs x86_64 3.14.0-1.fc21 fedora 230 k gtkspell3 x86_64 3.0.6-4.fc21 fedora 51 k http-parser x86_64 2.0-7.20121128gitcd01361.fc21 fedora 29 k libgit2 x86_64 0.21.1-2.fc21 fedora 367 k libgit2-glib x86_64 0.0.24-1.fc21 fedora 118 k Removing: kernel x86_64 3.16.4-200.fc20 @System 138 M kernel-modules-extra x86_64 3.16.4-200.fc20 @System 8.2 M Transaction Summary ================================================================================ Install 6 Packages Remove 2 Packages Total download size: 1.1 M Is this ok [y/N]: As you can see, DNF is trying to remove the 4th kernel package when installing some package. I appreciate that DNF is trying to make system clean and tidy, but it should not do unrelated tasks, when I ask to install package. If I did "dnf update", that would be appropriate time to remove the superfluous kernel. Version-Release number of selected component (if applicable): $ rpm -q dnf dnf-0.6.1-1.fc21.noarch How reproducible: Steps to Reproduce: 1. Have 4 kernels on the system (not sure how to achieve that with dnf, but on my system, 4th kernel was installed by fedup) 2. dnf install somepackage 3. Actual results: Unrelated task, such as kernel cleanup are done. Expected results: Only task I am asking, e.g. package installation is executed. Additional info:
*** This bug has been marked as a duplicate of bug 1160011 ***