Red Hat Bugzilla – Bug 191165
yum update && yum install kernel-devel brings different versions
Last modified: 2014-01-21 17:54:25 EST
Description of problem:
Doing a'yum update' 'yum install kernel-devel' can result in different
versions of kernel and kernel-devel, and so, a manual building of modules (i.d.
drbd) ist not possible.
yum update kernel #On a mirror with latest kernel
yum update kernel-devel #On a mirror not having latest kernel-devel
Steps to Reproduce:
1. yum update kernel
2. yum update kernel-devel
If the choosen mirrors have different kernel versions, kernel and kernel-devel
kernel and kernel-devel in same version
Just to be sure, the issue here is that mirrors are out of sync, right?
Not shure, I try to give a simple Example:
1) doing a yum -y update
I get a mirror where the where the latest kernel RPM ist
kernel-1001, it is getting installed.
2) doing yum -y install kernel-devel
I get a mirror not having kernel-devel-1001, so, yum is installing a
other kernel-devel-????, as now. I can compile kernel-modules now (i.d. drbd),
but the dont fit into my kernel ;-)
I think that not all mirrors are allways in sync is a given hard fact, not a
problem, for me as user, the problem is that 'yum install kernel-devel' does not
force to install the kernel-devel for my actual kernel (which was installed with
yum update), so, for me it is a missinig dependency.
We have some bits in the mirror infrastructure to help avoid this problem now