On 13/04/11 05:22, Dvorkin, Asya wrote:> Hi everyone,
>
> I just upgraded to 5.6 and keep on getting the following error message:
>
> [root at rwjafs1 ~]# yum update
> Loaded plugins: fastestmirror, priorities
> Loading mirror speeds from cached hostfile
> * base: centos.mirror.nac.net
> * extras: mirror.batblue.com
> * updates: mirror.atlanticmetro.net
> Setting up Update Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package kmod-openafs.i686 0:1.4.12-1.1.2.6.18_194.26.1.el5 set to
be installed
> --> Processing Dependency: kernel-i686 = 2.6.18-194.26.1.el5 for
package: kmod-openafs
> --> Finished Dependency Resolution
> kmod-openafs-1.4.12-1.1.2.6.18_194.26.1.el5.i686 from openafs has
depsolving problems
> --> Missing Dependency: kernel-i686 = 2.6.18-194.26.1.el5 is needed
by package kmod-openafs-1.4.12-1.1.2.6.18_194.26.1.el5.i686 (openafs)
> Error: Missing Dependency: kernel-i686 = 2.6.18-194.26.1.el5 is needed by
package kmod-openafs-1.4.12-1.1.2.6.18_194.26.1.el5.i686 (openafs)
> You could try using --skip-broken to work around the problem
> You could try running: package-cleanup --problems
> package-cleanup --dupes
> rpm -Va --nofiles --nodigest
>
> [root at rwjafs1 ~]# package-cleanup --problems
> Setting up yum
> Reading local RPM database
> Processing all local requires
> No problems found
> [root at rwjafs1 ~]# uname -r
> 2.6.18-238.5.1.el5
> [root at rwjafs1 ~]# more /etc/redhat-release
> CentOS release 5.6 (Final)
>
>
> A bit of history.... Last time yum update was done on that box, due to
Hyper V issues, kernel crashed. I now know how to fix it, but back then we just
went to a previous kernel version (modified grub.conf), which I believe now
causes my current problems.
>
> This box's main responsibility has to do with afs, so installing afs
related package is kind of important..
>
> Thank you!
> Asya
>
It looks like you are using OpenAFS packages built for a specific kernel
- in this case the 5.5 kernel-2.6.18-194.26.1.el5. My guess would be
that in updating to 5.6, yum has automatically removed that older kernel.
You need to get kmod-openafs packages that match the version of your
currently running kernel. Where did you get these packages as they are
not a part of CentOS?