PDA

View Full Version : Yum Update Failed Dependency Error



BKJ1
30th October 2007, 01:38 AM
Today I received notification of security updates for my F7 install. However, when trying to install the updates i get this error:

Error: Missing Dependency: kernel-i686 = 2.6.22.9-91.fc7 is needed by package kmod-nvidia

Does anyone know how to fix this?

Here is the whole output of the update:

Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.i686 0:2.6.23.1-10.fc7 set to be updated
---> Package kernel-headers.i386 0:2.6.23.1-10.fc7 set to be updated
--> Processing Dependency: kernel-i686 = 2.6.22.9-91.fc7 for package: kmod-nvidia
---> Package kernel.i686 0:2.6.23.1-10.fc7 set to be updated
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel-devel.i686 0:2.6.23.1-10.fc7 set to be installed
---> Package kernel.i686 0:2.6.21-1.3194.fc7 set to be erased
---> Package kernel-devel.i686 0:2.6.21-1.3194.fc7 set to be erased
---> Package kernel-headers.i386 0:2.6.23.1-10.fc7 set to be updated
--> Processing Dependency: kernel-i686 = 2.6.22.9-91.fc7 for package: kmod-nvidia
---> Package kernel.i686 0:2.6.23.1-10.fc7 set to be installed
--> Finished Dependency Resolution
Error: Missing Dependency: kernel-i686 = 2.6.22.9-91.fc7 is needed by package kmod-nvidia


Thanks in advanced!

ppesci
30th October 2007, 02:14 AM
Sounds to me there are a couple of problems. First a kmod-nvidia module has a bad dependency, second yum is trying to install only the last kernel that is not what kmod-nvidia said to need.

try to install the kernel first.

yum install kernel-2.6.22.9-91.fc7

and then yum update

BKJ1
30th October 2007, 02:24 AM
Thanks. Trying yum install kernel-2.6.22.9-91.fc7 results in error:

No package kernel-2.6.22.9-91.fc7 available.

Me scratches head!

stevea
30th October 2007, 02:40 AM
Yes a couple problems. The yum update wants to install kernel.i686 0:2.6.23.1-10.fc7 and perhaps the livna repo doesn't have a kmod-nvidia for that. I suspect it wants to erase the 2.6.22-9.91 orphaning kmod-nvidia.

Verify that your livna repo is enabled (look in the file /etc/yum.repos.d/livne.repo for enabled=1). If so then the dependency is wrong. I'd personally change the vid driver to vesa, then "yum erase kmod-nvidia" and then update, then re-instal l kmod-nvidia from the livna repo and switch back to nvidia driver.

[edit]

Oh - perhaps the latest livna kmod-nvidia is for 2.6.22-9.91 ! Check - if so wait and update tomorrow.

ppesci
30th October 2007, 03:05 AM
stevea:

but the kernel-2.6.22.9-91.fc7 has been available for months. May be has been erased from the fedora repo?. The last kmod-nvidia is for that version (checked in livna directly).

BKJ1
30th October 2007, 04:01 AM
Thanks for the info. I will wait a couple of days and see what happens and then post back either way. But what I do not get is uname -r results in --> 2.6.22.9-91.fc7 which is the kernel i have installed.

JN4OldSchool
30th October 2007, 04:06 AM
kmod-nvidia is not up for the new kernel yet, I just tried. Try in the morning (or evening depending on which side of the world you are in :) )

BKJ1
30th October 2007, 10:23 PM
Well sitting back and being patient at times does have its advantages. My issue has been resolved. Next time I will wait a few days on issues like this before hitting the panic button. Thank you all for your comments.

[UPDATE]
Looks like this new kernel breaks vmware server and usually after this happens running the vmware-config.pl script usually fixes this but not this time.