[CentOS] Dependency failures when updating

Johnny Hughes mailing-lists at hughesjr.com
Fri Sep 1 14:46:42 UTC 2006


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20060901/40fa964c/attachment.bin


More information about the CentOS mailing list