[CentOS] kernel-devel package newer than installed kernel

Phil Perry
Mon, 08 Mar 2021 05:30:32 -0000

On 08/03/2021 04:11, Mauricio Tavares wrote:
> 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?

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.