Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Fedora: installed kernel-headers not the same as reported by (uname -r)

I just updated my kernel in Fedora as it asked me in a routine pop-up.

After the update, this is what I have:

[root@redberret ~]# dnf info kernel-headers
Last metadata expiration check: 0:19:44 ago on Sun 28 Jan 2018 10:42:11 AM EST.
Installed Packages
Name         : kernel-headers
Version      : 4.14.14
Release      : 300.fc27
Arch         : x86_64
Size         : 4.3 M
Source       : kernel-4.14.14-300.fc27.src.rpm
Repo         : @System
From repo    : updates
Summary      : Header files for the Linux kernel for use by glibc
URL          :
License      : GPLv2 and Redistributable, no modification permitted
Description  : Kernel-headers includes the C header files that specify the interface
             : between the Linux kernel and userspace libraries and programs.  The
             : header files define structures and constants that are needed for
             : building most standard programs and are also needed for rebuilding the
             : glibc package.

[root@redberret ~]# uname -r

My system thinks I have version 4.13.9, while dnf thinks I have 4.14.14 installed.

I tried manually installing 4.14.14 via

[root@redberret ~]# dnf install kernel-4.14.14-300.fc27.x86_64
Last metadata expiration check: 0:26:20 ago on Sun 28 Jan 2018 10:42:11 AM EST.
Package kernel-4.14.14-300.fc27.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.

And I'm still shown 4.13.9 in $(uname -r).

In my GRUB screen, I see two options to boot from: the kernel version 4.13.9, or the rescue drive.

I googled around, and some threads suggested it was because of an old OS installation. It might be the case since I had upgraded this from Fedora 26 to Fedora 27, and that upgrade gave me some troubles.

I'm not quite sure what is going on here... Help would be really appreciated.