Hi everyone,
I just upgraded to 5.6 and keep on getting the following error message:
[root@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@rwjafs1 ~]# package-cleanup --problems Setting up yum Reading local RPM database Processing all local requires No problems found [root@rwjafs1 ~]# uname -r 2.6.18-238.5.1.el5 [root@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
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@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@rwjafs1 ~]# package-cleanup --problems Setting up yum Reading local RPM database Processing all local requires No problems found [root@rwjafs1 ~]# uname -r 2.6.18-238.5.1.el5 [root@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?
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?
Thank you, Ned.
Here is what I ended up doing..
Thanks to Hyper V i could easily rollback to 5.5.
Downloaded kernel-2.6.18-194.26.1.el5.i686.rpm, manually installed it and after that yum update worked without any issues.
Thank you for pointing me into the right direction.
Asya