> On 07 Aug 2015, at 16:04, John Hascall <[email protected]> wrote:
> 
> I am a BSD refugee who is new to AFS on RHEL, so please excuse this question 
> if it is dumb.
> 
> I installed a new RHEL6 box and the kernel version is:
> 
> 2.6.32-573.el6.x86_64
> 
> so the kmod rpm refuses to install:
> 
> (2/2): kmod-openafs-1.6.13-1.2.6.32_504.30.3.el6.x86_64. | 320 kB     00:00
> --------------------------------------------------------------------------------
> Total                                           927 kB/s |  29 MB     00:32
> Running rpm_check_debug
> Running Transaction Test
> 
> 
> Transaction Check Error:
>   package kernel-2.6.32-573.el6.x86_64 (which is newer than 
> kernel-2.6.32-504.30.3.el6.x86_64) is already installed
> 
> How do I proceed from here?

The kernel module for the latest EL6 kernel hasn't been built yet, presumably 
because that kernel is not yet available in the ordinary CentOS updates channel.

To build yourself, make sure these are installed (probably a bit more than you 
need):

rpm-build
make
pam-devel
gcc
flex
bison
ncurses-devel
perl
redhat-rpm-config
autoconf
automake
fuse-devel
krb5-devel

Then rebuild the srpm:

rpmbuild --rebuild --define "build_modules 1" --define "kernvers 
2.6.32-573.el6.x86_64" 
http://www.openafs.org/dl/openafs/1.6.13/openafs-1.6.13-1.src.rpm

- Stephan

_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to