LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-29-2008, 10:31 PM   #1
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Rep: Reputation: 59
Starnge dependency error trying to install kmod-nvidia


Hullo All,
I've just built a new system and installed Fedora 8 from magazine DVD.
The installed kernel is 2.6.23.1-42.fc8, and having had F8 on my old system for a while thought that the first things to do would be a kernel update then install the kmod-nvidia drivers.
I asked yum to 'list available kernel' and it responded with 2.6.24.4-64.fc8, so installed that, then asked yum to install kmod-nvidia.
Yum went through a few motions then reported dependency error, 'kernel-2.6.24.5-85.fc8 required'.
This seemed a bit odd, as the package manager knows about the fedora, fedora updates and livna and should have been able to get any kernel that related to a kmod-nvidia package currently available.
I decided to remove kernel 2.6.24.4-64 and use kernel 2.6.23.1-42 and see what kmod-nvidia package was listed as available, then asked it to install. Yum reported the same dependency error.
I then went to the linva site and found the kmod-nvidia-2.6.23.1-42, which should correspond to the installed kernel and downloaded that the asked yum to do a localinstall, and it gave the same dependency error. Kernel-2.6.24.5-85 needed.
This all seems very strange.
I did have a bit of trouble a couple of months ago when I updated the kernel on my old system and tried to update the kmod-nvidia, only to get dependency errors, which turned out to be a fault in the kmod-nvidia package. When the problem was fixed and the revised package made available it installed OK.
Surely we don't have the same sort of problem again.
Can anyone throw any light on this?

Cheers,
 
Old 04-29-2008, 10:41 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
kmod-nvidia is compiled for a specific version, so the version numbers need to match. You probably need to wait for the driver version in the repo to catch up with the kernel version
 
Old 04-29-2008, 11:39 PM   #3
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Yes, that was my understanding, and why I went back to original kernel and specifically sought the kmod-nvidia that matched that kernel, as you have suggested is the right approach, but still got the dependency error citing a kernel version that I haven't seen yet.
Doesn't it all seem a bit odd?

Cheers,
 
Old 04-29-2008, 11:41 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Why don't you just get the nvidia version and do it yourself whe nthe kernel gets upgraded? Only takes a minute to recompile after an update.
 
Old 04-30-2008, 12:04 AM   #5
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
I remember trying that some time ago and having all sorts of trouble, so decided to use the binary packages after that.
I just went through the motions again, just to be sure that I wasn't doing something silly.
1. ask package manager to search for 'nvidia'
2. Choose kmod-nvidia-2.6.23.1-42.fc8, and apply
3. Package manager returns error message, details are: 'Missing dependency: kernel-i686-2.6.24.5-85.fc8 is needed by kmod-nvidia-2.6.24.5-85.fc8'

Clearly something wrong here. The message relates to a package I haven't asked to be installed.

Time to generate a bug report I think.

Cheers,
 
Old 04-30-2008, 12:09 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
is kmod-nvidia-2.6.24.5-85.fc8 installed already?

remove kmod-nvidia-2.6.24.5-85.fc8 first,but why are you trying to roll back to an even older kernel? Is kernel-i686-2.6.24.5-85.fc8 working with the nvidia driver?

Edit - what kernel are you running?

Last edited by billymayday; 04-30-2008 at 12:10 AM.
 
Old 04-30-2008, 06:33 PM   #7
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
No, kmod-nvidia-2.6.24.5-85.fc8 isn't installed. The system has a fresh install of Fc8 from a Fedora DVD and the kernel version on that DVD is 2.6.23.1-42.
I don't have kernel 2.6.24.5-85.fc8 installed.
You may have missed some of my original post which did explain all this.

Cheers,
 
Old 05-02-2008, 03:08 AM   #8
hlingler
Member
 
Registered: May 2007
Location: Connellsville, PA, USA
Distribution: Fedora 8/9/10/11
Posts: 71

Rep: Reputation: 15
Hello:

When running an install/update, yum will always try to install/update to the latest available version of any package, even on packages tagged as multi-version like the kernel. So, if you give it for example: yum install kmod-nvidia, it will look for the latest available kmod-nvidia, and then the needed prerequisites for that version. That does not seem to explain why in this case the required kernel-2.6.24.5-85.fc8 was not pulled in as a prerequisite for kmod-nvidia-2.6.24.5-85.fc8, nor why it balked and returned an error when you specifically tried to install kmod-nvidia-2.6.23.1-42.fc8 - that specific command should have installed the (older) kmod-nvidia, instead it returned the error you noted about the *-2.6.24.5-85 packages.

Avoid "Package Manager" and try the install from the command-line. Open a terminal and (as root user) command:
yum install kmod-nvidia-2.6.23.1-42.fc8

Assuming as you say that this kmod-nvidia is still available in the Livna repo, yum should comply and install it. If not, you may have to download and manually install all the necessary packages in the video driver suite with 'rpm'.

Very strange indeed.

Regards,
V
 
Old 05-03-2008, 02:06 AM   #9
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by hlingler View Post
Hello:

When running an install/update, yum will always try to install/update to the latest available version of any package, even on packages tagged as multi-version like the kernel. So, if you give it for example: yum install kmod-nvidia, it will look for the latest available kmod-nvidia, and then the needed prerequisites for that version. That does not seem to explain why in this case the required kernel-2.6.24.5-85.fc8 was not pulled in as a prerequisite for kmod-nvidia-2.6.24.5-85.fc8, nor why it balked and returned an error when you specifically tried to install kmod-nvidia-2.6.23.1-42.fc8 - that specific command should have installed the (older) kmod-nvidia, instead it returned the error you noted about the *-2.6.24.5-85 packages.

Avoid "Package Manager" and try the install from the command-line. Open a terminal and (as root user) command:
yum install kmod-nvidia-2.6.23.1-42.fc8

Assuming as you say that this kmod-nvidia is still available in the Livna repo, yum should comply and install it. If not, you may have to download and manually install all the necessary packages in the video driver suite with 'rpm'.

Very strange indeed.

Regards,
V
I was using the command line.
I posted a bug report, and got a response that the repository mirrors that yum was trying to get the various bits from must have been out of sync...ie the livna mirror had the appropriate nvidia stuff but the mirror that should have had the corresponding kernel hadn't been updated, hence yum couldn't find the kernel.
I have since tried again and all went well, or almost...one of the packages didn't have the security whatnot file, so yum failed. I tried again using --nogpgcheck and it worked.
Useful to file this little experience away for future reference, as it is probably all going to happen again.

Cheers,
 
Old 05-07-2008, 03:13 PM   #10
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
I tried to install an older version kmod (one for which I knew I didn't have the kernel installed):

Code:
[root:~#] yum install kmod-nvidia-2.6.24.3-50.fc8
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package kmod-nvidia-2.6.24.3-50.fc8.x86_64 0:169.12-5.lvn8 set to be updated
--> Processing Dependency: kernel-x86_64 = 2.6.24.3-50.fc8 for package: kmod-nvidia-2.6.24.3-50.fc8
--> Finished Dependency Resolution
Error: Missing Dependency: kernel-x86_64 = 2.6.24.3-50.fc8 is needed by package kmod-nvidia-2.6.24.3-50.fc8
I suspect the dependency error occurs because the kernel is not in the repos. But as you can see it attempts to pull the kernel.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kmod-Nvidia mickeyboa Fedora 30 11-21-2011 10:09 PM
Difference between NVIDIA source drivers & KMOD-NVIDIA mrkawphy Fedora 1 01-23-2007 12:51 AM
Graphic sucks after updating kmod-nvidia and xorg-X11-nvidia hans21 Fedora 1 12-10-2006 02:21 PM
Failed dependency: fglrx-kmod-common shreks Fedora 1 06-02-2006 02:29 AM
Starnge error when opening a tgz file wtih MC rmocius@auste.e Slackware 4 12-01-2003 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration