Kernel-devel Package Newer Than Installed Kernel
Running CentOS Linux release 8.3.2011
According to uname my kernel is 4.18.0-240.10.1.el8_3.x86_64, but when I check which version of kernel-devel is available,
yum info kernel-devel
I get that
Source : kernel-4.18.0-240.15.1.el8_3.src.rpm
Why is the version of kernel-devel available for my kernel based on a newer kernel?
3 thoughts on - Kernel-devel Package Newer Than Installed Kernel
uname prints the running kernel – maybe you need to reboot to the latest kernel.
Try ‘rpm -qa kernel’ to see which kernels are actually installed.
Thanks for the reply. I rebooted it and uname still reported the same kernel as mentioned above.
Unfortunately, the latest kernel listed by rpm agrees with uname:
[raub@testbox ~]$ rpm -qa kernel kernel-4.18.0-193.el8.x86_64
kernel-4.18.0-240.10.1.el8_3.x86_64
[raub@testbox ~]$
It appears as though you don’t have all the latest package updates. Does “dnf upgrade” bring down a new kernel package? If not, do you have some local changes to your dnf config that might prevent kernel updates? Or an alternative CentOS repository that is out of date?
—
Jonathan Billings