[OpenAFS] error: Failed dependencies

predragp@andrew.cmu.edu predragp@andrew.cmu.edu
Mon, 6 Jan 2014 15:19:13 -0500


Hi List,

This is my first post here. I am having a bit of trouble
with openafs-client on Springdale Linux

Namely I got to work this morning just to find out that

[root@loco init.d]# service openafs-client start
Updating CellServDB:
Starting openafs-client: FATAL: Module openafs not found.
failed to load openafs kernel module.


Namely we had a power outrage over the night and this morning
bunch of desktops we had in the lab booted with new kernels

[root@loco init.d]# uname -r
2.6.32-431.1.2.el6.x86_64

consequently people could not use AFS. No big deal I thought
thanks to these guys

http://dl.openafs.org/dl/openafs/1.6.5/rhel6/x86_64/

However
[root@loco init.d]# rpm -Uhv
http://dl.openafs.org/dl/openafs/1.6.5/rhel6/x86_64/kmod-openafs-1.6.5-1.2.6.32_431.1.2.0.1.el6.x86_64.rpm
Retrieving
http://dl.openafs.org/dl/openafs/1.6.5/rhel6/x86_64/kmod-openafs-1.6.5-1.2.6.32_431.1.2.0.1.el6.x86_64.rpm
warning: /var/tmp/rpm-tmp.swZ0pR: Header V4 DSA/SHA1 Signature, key ID
c19e4a0a: NOKEY
error: Failed dependencies:
        kernel-x86_64 = 2.6.32-431.1.2.0.1.el6 is needed by
kmod-openafs-1.6.5-1.2.6.32_431.1.2.0.1.el6.x86_64


What can I do about this short of trying to boot from old kernel?

To add an insult to injury trying to compile from sources

yacc  error_table.y
make[3]: yacc: Command not found
make[3]: *** [error_table.c] Error 127
make[3]: Leaving directory `/root/openafs-1.6.5.2/src/comerr'
make[2]: *** [comerr] Error 2
make[2]: Leaving directory `/root/openafs-1.6.5.2'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/root/openafs-1.6.5.2'
make: *** [all] Error 2


even though I have bison installed and alias yacc='bison' in my bashrc.
I know that GNU Make might be picking its own shell so yacc might not
exist from that vintage points.

I apologize for this n00b questions. I am not much of a Linux guy (more
like BSD guy here) and I encountered AFS for the first time when I
moved to CMU.


Thanks,
Predrag