[OpenAFS] problem installing kmod-openafs from yum repo

Natxo Asenjo natxo.asenjo@gmail.com
Fri, 17 Feb 2012 14:51:31 +0100


I am setting up a test openafs lab with centos 6.2. Following the
'Getting Started on Linux'
(http://docs.openafs.org/QuickStartUnix/ch02s09.html) instructions, I
get two problems:

First, there is no openafs-repository-VERSION.noarch.rpm file for
version 1.6.0; this is not a huge problem, I have made my own
openafs.repo file but maybe the documentation should be updated or the
file should be placed there ;-)

Second (so far), and the reason why I post: when installing the
kmod-openafs package, I get this error:

# yum install kmod-openafs
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.nl.leaseweb.net
 * extras: mirror.nl.leaseweb.net
 * updates: mirror.nl.leaseweb.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kmod-openafs.i686 0:1.6.0- will be installed
--> Processing Dependency: kernel-i686 = 2.6.32-71.29.1.el6 for
package: kmod-openafs-1.6.0-
--> Finished Dependency Resolution
Error: Package: kmod-openafs-1.6.0- (openafs)
           Requires: kernel-i686 = 2.6.32-71.29.1.el6
           Installed: kernel-2.6.32-220.el6.i686 (@Centos62/6.2)
               kernel-i686 = 2.6.32-220.el6
           Installed: kernel-2.6.32-220.4.1.el6.i686 (@updates)
               kernel-i686 = 2.6.32-220.4.1.el6
           Installed: kernel-2.6.32-220.4.2.el6.i686 (@updates)
               kernel-i686 = 2.6.32-220.4.2.el6
           Available: kernel-2.6.32-220.2.1.el6.i686 (updates)
               kernel-i686 = 2.6.32-220.2.1.el6
           Available: kernel-debug-2.6.32-220.el6.i686 (base)
               kernel-i686 = 2.6.32-220.el6.debug
           Available: kernel-debug-2.6.32-220.2.1.el6.i686 (updates)
               kernel-i686 = 2.6.32-220.2.1.el6.debug
           Available: kernel-debug-2.6.32-220.4.1.el6.i686 (updates)
               kernel-i686 = 2.6.32-220.4.1.el6.debug
           Available: kernel-debug-2.6.32-220.4.2.el6.i686 (updates)
               kernel-i686 = 2.6.32-220.4.2.el6.debug
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Apparently the kmod-openafs package is not for the same version so it
does not install.

What is the recommended course of action for RHEL (or clones) in this case?