English
Ask Your Question
1

kernel and kernel-devel packages, kernel versions

asked 2017-09-12 11:40:25 +0000

i716 gravatar image

updated 2017-09-13 18:23:55 +0000

Samuel Sieb 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.
Complete!

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

Comments

1

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

steveebey73742 ( 2017-09-12 15:43:54 +0000 )edit

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

https://apps.fedoraproject.org/packag...

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 ( 2017-09-13 19:48:30 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-09-13 18:13:58 +0000

Samuel Sieb 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

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2017-09-12 11:40:25 +0000

Seen: 38 times

Last updated: Sep 13