[OpenAFS-devel] Installing freshly built kernel module on FC5.

Alan Hoyle alan.hoyle@gmail.com
Tue, 3 Apr 2007 09:47:46 -0400


Hey all,

I want to run FC5 with a recent (latest?) SMP kernel.  I've rebuilt
the openafs kernel RPM using the following command:

# rpmbuild --rebuild --target=`uname -m` /tmp/openafs-1.4.4-fc5.2.src.rpm

However, when I try to install it, I get the following error message:

# rpm -Uhv /usr/src/redhat/RPMS/i686/openafs-kernel-smp-1.4.4-2.6.20_1.2307.fc5smp_2.i686.rpm
error: Failed dependencies:
        kernel-smp-i686 = 2.6.20-1.2307.fc5 is needed by
openafs-kernel-smp-1.4.4-2.6.20_1.2307.fc5smp_2.i686

I'm definitely running the correct kernel, it just looks like the
dependencies in the .spec file are screwed up.

I think it should be looking for kernel-i686 = 2.6.20-1.2307.fc5smp instead...

# uname -a Linux nel[snip] 2.6.20-1.2307.fc5smp #1 SMP Sun Mar 18
21:02:16 EDT 2007 i686 i686 i386 GNU/Linux

# rpm -qa|grep kernel-[ds]
kernel-smp-2.6.20-1.2307.fc5
openafs-kernel-source-1.4.4-fc5.2
kernel-smp-devel-2.6.20-1.2307.fc5
kernel-devel-2.6.20-1.2307.fc5

# rpm -q kernel-smp-2.6.20-1.2307.fc5 --provides
kernel = 2.6.20
kernel-drm = 4.3.0
kernel-i686 = 2.6.20-1.2307.fc5smp
kernel-smp = 2.6.20-1.2307.fc5




-- 
   Alan Hoyle  -  alanh@unc.edu  -  http://www.alanhoyle.com/
     "I don't want the world, I just want your half." -TMBG
                Get Horizontal, Play Ultimate.