Installing kernel-devel does not match the running kernel?

I just installed starting from a minimal CD. The current kernel is 5.14.0-362.8.1.el9_3.x86_64. But dnf download --source kernel downloads kernel-5.14.0-362.13.1.el9_3.src.rpm. And dnf install kernel-headers says kernel-headers-5.14.0-362.13.1.el9_3.x86_64 is already installed. “dnf upgrade” says nothing to do.

What is the best way to get in sync?

Are you absolutely sure your current kernel is 5.14.0-362.8.1? Remember the system keeps multiple kernel / kernel-devel packages installed at the same time (3 by default, I believe). In case of bad drivers or a situation where you need to boot the old one.

Get your current running kernel with: uname -a

List all the kernels you have installed with: rpm -q kernel or rpm -q kernel-core .

If you’re running the older one but have a newer one installed you may just need to reboot. By default, the system will boot up with the most recent kernel package you installed. For most folks doing simple dnf update operations that means the newest version available.

The installation ISOs are published every 6 months, but small updates to packages happen frequently - usually at least once per week. It’s always recommended to run the most recent versions if possible, and kernel is no exception.

Hope this helps!

-Skip

uname -a … 5.14.0-362.8.1.el9_3.x86_64

Rebooting fixed it. Thanks!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.