Ask Your Question

kernel and kernel-devel packages, kernel versions

asked 2017-09-12 06:40:25 -0500

i716 gravatar image

updated 2017-09-13 13:23:55 -0500

ssieb gravatar image

Hello, I have Fedora 26 running with the 4.12.5 kernel on it (and I had the required -devel packages installed as well)

I also do have 2 vanilla kernels installed.

Unfortunately, a recent update has removed the stock kernel's -devel packages and I am unable to get them back.

dnf install kernel-devel-$(uname -r)
Last metadata expiration check: 0:26:39 ago on Tue 12 Sep 2017 08:05:15 PM JST.
No package kernel-devel-4.12.5-300.fc26.x86_64 available.
Error: Unable to find a match

dnf install kernel-devel
Last metadata expiration check: 0:27:25 ago on Tue 12 Sep 2017 08:05:15 PM JST.
Package kernel-devel-4.12.9-300.fc26.x86_64 is already installed, skipping.
Package kernel-devel-4.12.11-300.fc26.x86_64 is already installed, skipping.
Package kernel-devel-4.13.1-1.vanilla.knurd.1.fc26.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.

Which is quite strange as I neither have the 4.12.9 nor the 4.12.11 kernel versions installed. Any ideas on why this is happening? What is the current stock kernel? I am also not able to upgrade to 4.12.9 or 4.12.11

edit retag flag offensive close merge delete



what is the output of dnf list installed kernel* so that we can see what you do have?

steveebey73742 gravatar imagesteveebey73742 ( 2017-09-12 10:43:54 -0500 )edit

You see the latest kernel provided by the official Fedora repository here:

that's what you mean with "stock kernel", right? It's not the 4.12.5 that you have installed. It's currently 4.12.11 or so.

Also run dnf upgrade --refresh, then reboot, a

florian gravatar imageflorian ( 2017-09-13 14:48:30 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-09-13 13:13:58 -0500

ssieb gravatar image

I don't know what you mean by "stock kernel". rpm -qa | grep kernel would be very useful to know what you do have installed. By default, the kernel packages can have 3 different versions installed at once. So when you updated, you got a new kernel-devel package and the oldest one was removed. According to what you posted, dnf says you have 4.12.9-300, 4.12.11-300, and 4.13.1-1.vanilla.knurd.1. Those are all newer than 4.12.5-300 so it would have been removed. You can't install it again because only the latest update of a package is kept in the repos. The current kernel version is 4.12.11-300. Why can't you upgrade to it?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2017-09-12 06:40:25 -0500

Seen: 377 times

Last updated: Sep 13 '17