I am trying to update a centos box with an unsupported kernel (for XFS support):
[root@snowybunting /]# uname -a Linux snowybunting.homelinux.net 2.6.9-34.106.unsupportedsmp #1 SMP Sat Mar 18 16:22:41 CST 2006 x86_64 x86_64 x86_64 GNU/Linux
To update I did:
yum update python-sqlite yum clean all yum update yum yum clean all yum update
..and I get the following
91 packages excluded due to repository protection
<bunch of stuff deleted>
--> Running transaction check --> Processing Dependency: kernel-ib for package: libibverbs --> Processing Dependency: kernel-ib for package: libsdp --> Processing Dependency: kernel-ib for package: dapl --> Processing Dependency: kernel-ib for package: libmthca --> Processing Dependency: kernel-ib for package: librdmacm --> Finished Dependency Resolution Error: Missing Dependency: kernel-ib is needed by package libibverbs Error: Missing Dependency: kernel-ib is needed by package libsdp Error: Missing Dependency: kernel-ib is needed by package dapl Error: Missing Dependency: kernel-ib is needed by package libmthca Error: Missing Dependency: kernel-ib is needed by package librdmacm
I unprotected the repositories in /etc/yum.repo.d, then reran:
yum update
...and I get the same missing dependencies errors. I don't know if I have too many things going on at once with the unsupported kernel and updating the whole base, but as of now I'm kind of stuck. Any thoughts?
On Fri, 2006-09-01 at 08:32 -0400, Tom Elsesser wrote:
I am trying to update a centos box with an unsupported kernel (for XFS support):
[root@snowybunting /]# uname -a Linux snowybunting.homelinux.net 2.6.9-34.106.unsupportedsmp #1 SMP Sat Mar 18 16:22:41 CST 2006 x86_64 x86_64 x86_64 GNU/Linux
To update I did:
yum update python-sqlite yum clean all yum update yum yum clean all yum update
..and I get the following
91 packages excluded due to repository protection
<bunch of stuff deleted>
--> Running transaction check --> Processing Dependency: kernel-ib for package: libibverbs --> Processing Dependency: kernel-ib for package: libsdp --> Processing Dependency: kernel-ib for package: dapl --> Processing Dependency: kernel-ib for package: libmthca --> Processing Dependency: kernel-ib for package: librdmacm --> Finished Dependency Resolution Error: Missing Dependency: kernel-ib is needed by package libibverbs Error: Missing Dependency: kernel-ib is needed by package libsdp Error: Missing Dependency: kernel-ib is needed by package dapl Error: Missing Dependency: kernel-ib is needed by package libmthca Error: Missing Dependency: kernel-ib is needed by package librdmacm
I unprotected the repositories in /etc/yum.repo.d, then reran:
yum update
...and I get the same missing dependencies errors. I don't know if I have too many things going on at once with the unsupported kernel and updating the whole base, but as of now I'm kind of stuck. Any thoughts?
Upstream ... in their infinite wisdom ... created a package called kernel-ib. It broke their default setup of up2date (and our to) as kernel* is excluded by default.
Looks like you have the same exclude in your /etc/yum.conf so that you can use the centosplus kernel.
I have good news :)
If the only thing you need the CentOSPlus kernel for is XFS, you no longer need to use the CentOSPlus kernel.
We now have these files in CentOSPlus:
kernel-module-xfs-2.6.9-42.0.2.EL-0.1-3.i686.rpm kernel-module-xfs-2.6.9-42.0.2.ELhugemem-0.1-3.i686.rpm kernel-module-xfs-2.6.9-42.0.2.ELsmp-0.1-3.i686.rpm kernel-module-xfs-2.6.9-42.EL-0.1-3.i686.rpm kernel-module-xfs-2.6.9-42.ELhugemem-0.1-3.i686.rpm kernel-module-xfs-2.6.9-42.ELsmp-0.1-3.i686.rpm
If you pick the proper file and install it (there are x86_64 files as well) you can have xfs and the normal CentOS Kernel. (It works for the RHEL kernel as well).
We will be working with yum and a yum plugin in the future to better managed kernel module RPMS ... for now, your best bet is to download the correct module by hand and install it with rpm like this:
rpm -ivh kernel-module-xfs-2.6.9-42.EL-0.1-3.i686.rpm ----------------------- The CentOS plus kernel has also changed to require that you also install the proper XFS module with it as well ... for example, if you are using the latest CentosPlus SMP kernel and you want XFS, install this RPM:
kernel-module-xfs-2.6.9-42.0.2.plus.c4smp-0.1-3.i686.rpm
------------------
The code for these xfs modules is much improved (and more stable) than the code in the 2.6.9 kernel and was provided by SGI.
It also allows you to have XFS and the standard kernel. -----------------
To answer your original question too ... if you still need to exclude kernels in your yum.conf file, please do it like this instead:
exclude=kernel kernel-devel kernel-doc kernel-smp* kernel-hugemem* kernel-largesmp*
(all one line)
You then should be able to update and get kernel-ib
Johnny Hughes wrote:
Looks like you have the same exclude in your /etc/yum.conf so that you can use the centosplus kernel.
Yep, I sure did, and I completely overlooked that bit. I guess I was still scratching my head over what the kernel-ib was.
To answer your original question too ... if you still need to exclude kernels in your yum.conf file, please do it like this instead:
exclude=kernel kernel-devel kernel-doc kernel-smp* kernel-hugemem* kernel-largesmp*
(all one line)
You then should be able to update and get kernel-ib
I did as you instructed and it's updating as we speak. Thanks for the help and the great work on CentOS.
if you still need to exclude kernels in your yum.conf file, please do it like this instead:
exclude=kernel kernel-devel kernel-doc kernel-smp* kernel-hugemem* kernel-largesmp*
Shouldn't "we" change accordingly /etc/sysconfig/rhn/up2date? Smth like: pkgSkipList=kernel; kernel-devel; kernel-doc; kernel-smp*; kernel-hugemem*; kernel-largesmp*;
instead of the default: pkgSkipList=kernel*;
OTOH, the newly provided up2date-4.4.69-25.centos4.7 made no change to my config files! (I diff'ed against a backup.) I don't get what sources were corrected and how?!
And finally, should't the "refined kernel exclusions" be included in re-issued yum and up2date?
Sorry for bothering you, as you do a great job and my upgrade 4.3->4.4 was almost painless, practically one of the painless I've ever had (the worst in my life being a SuSE 10.0 -> 10.1).
(the said) Béranger
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com