Description of problem: I have one 3.14.x, two 3.18, and one 3.19 kernels installed. I'd like to install a 3.17 kernel but both dnf install and dnf upgrade fail Version-Release number of selected component (if applicable): dnf-0.6.3-2.fc21.noarch hawkey-0.5.2-1.fc21.i686 How reproducible: Always Steps to Reproduce: 1. Download rpms from koji into a folder 2. dnf install *rpm 3. dnf upgrade *rpm Actual results: [root@f21s kernels]# dnf install *rpm Package kernel-3.14.26-100.fc19.i686 is already installed, skipping. Package kernel-core-3.18.0-1.fc22.i686 is already installed, skipping. Package kernel-debug-3.18.1-2.fc22.i686 is already installed, skipping. Package kernel-debug-core-3.18.1-2.fc22.i686 is already installed, skipping. Package kernel-debug-modules-3.18.1-2.fc22.i686 is already installed, skipping. Package kernel-modules-3.18.0-1.fc22.i686 is already installed, skipping. Error: Nothing to do. [root@f21s kernels]# dnf upgrade *rpm Package kernel of higher version already installed, cannot update it. Package kernel-core of higher version already installed, cannot update it. Package kernel-debug of higher version already installed, cannot update it. Package kernel-debug-core of higher version already installed, cannot update it. Package kernel-debug-modules of higher version already installed, cannot update it. Package kernel-modules of higher version already installed, cannot update it. Error: No packages marked for upgrade. Expected results: Seems like one of them should work, and it also seems like for kernels there doesn't need to be a distinction between install and upgrade. Additional info: Kernels downloaded that I want installed: [root@f21s kernels]# ll total 70000 -rw-r--r--. 1 root root 43120 Dec 23 21:10 kernel-3.17.7-300.fc21.i686.rpm -rw-r--r--. 1 root root 18131576 Dec 23 21:10 kernel-core-3.17.7-300.fc21.i686.rpm -rw-r--r--. 1 root root 43200 Dec 23 21:10 kernel-debug-3.17.7-300.fc21.i686.rpm -rw-r--r--. 1 root root 19339820 Dec 23 21:12 kernel-debug-core-3.17.7-300.fc21.i686.rpm -rw-r--r--. 1 root root 17332348 Dec 23 21:12 kernel-debug-modules-3.17.7-300.fc21.i686.rpm -rw-r--r--. 1 root root 16779072 Dec 23 21:12 kernel-modules-3.17.7-300.fc21.i686.rpm
yum install *rpm works
*** Bug 1179720 has been marked as a duplicate of this bug. ***
Thank you for the report and for a nice example. I also think that we should support "dnf install kernel-X.Y" since kernel is "installonly" and it's intuitive to call "dnf install" then. Even more things like "dnf downgrade kernel-X.Y" do not make sense to me since it actually does not do a downgrade.
Radek, change install to do what you wrote in comment 3, please.
*** Bug 1160004 has been marked as a duplicate of this bug. ***
*** Bug 1187721 has been marked as a duplicate of this bug. ***
The root cause is the same as in bug 1160950. *** This bug has been marked as a duplicate of bug 1160950 ***