View Full Version : FC6 YUM nVidia driver install
dabruhn
11th February 2007, 11:08 PM
yum and rpm complain that a package depends on a kernel version that I believe is already installed on my machine.
Here is the history:
I performed a fresh Fedora Core 6 install on my Dell Precision 530 dual 1.7MHz workstation. yum-updatesd dutifully noticed I needed 237 updates. Updates occurred successfully including updating kernal from 2.6.18-1.2798.fc6 to 2.6.19-1.2985.fc6. Turned off yum-updatesd and rebooted. Surfed over to http://www.mjmwired.net/resources/mjm-fedora-fc6.html#nvidia for instructions regarding driver installation for my nVidia Quadro4 900 XGL video card. Opened a terminal. typed su -
Set up livna repository. Typed yum install kmod-nvidia. Yum output:
================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kmod-nvidia i686 1.0.9746-1.2.6.19_1.2895.fc6 livna 2.3 M
Installing for dependencies:
kernel i686 2.6.19-1.2895.fc6 updates 16 M
xorg-x11-drv-nvidia i386 1.0.9746-7.lvn6 livna 4.9 M
Transaction Summary
================================================== ===========================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Check Error: package kernel-2.6.19-1.2895.fc6 is already installed
file /boot/System.map-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
file /boot/config-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
file /boot/symvers-2.6.19-1.2895.fc6.gz from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
file /boot/vmlinuz-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
Notice yum wants to install kernel 2.6.19-1.2895.fc6 because of the kmod-nvidia dependancybut cannot because it is already installed.
Typed the following to verify my kernel:
[root@precision dabruhn]# uname -rm
2.6.19-1.2895.fc6 i686
[root@precision dabruhn]# rpm -q kernel
kernel-2.6.19-1.2895.fc6
Also I downloaded the files and tried installing using rpm which of course failed for the same reason:
[root@precision dabruhn]# rpm -ivh kmod-nvidia-1.0.9746-1.2.6.19_1.2895.fc6.i686.rpm xorg-x11-drv-nvidia-1.0.9746-7.lvn6.i386.rpm
error: Failed dependencies:
kernel-i686 = 2.6.19-1.2895.fc6 is needed by kmod-nvidia-1.0.9746-1.2.6.19_1.2895.fc6.i686
I do not understand why yum and rpm fail to recognize the kernel installed on my machine is the one kmod-nvidia depends. Should I use rpm's --force command line option?
Any help is appreciated. Thanks.
Dave
leigh123linux
11th February 2007, 11:27 PM
you need a i686 kernel for the Livna nvidia driver to work ( uname wont work ) you have a i586 kernel
http://forums.fedoraforum.org/showthread.php?t=139751
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort
dabruhn
11th February 2007, 11:49 PM
Yes, you are right.
[root@precision dabruhn]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort
kernel-2.6.19-1.2895.fc6.i586
kernel-devel-2.6.18-1.2798.fc6.i586
kernel-devel-2.6.19-1.2895.fc6.i586
kernel-headers-2.6.19-1.2895.fc6.i386
Now I don't understand how I got the i586 version since at the installation boot prompt I typed "linux i686" to conteract the known FC6 installation bug. Did yum_updatesd change my version when it updated from 2.6.18-1.2798.fc6 to 2.6.19-1.2985.fc6? Do I now need to do the following?
Download the proper kernel from: http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/
Install it: (enter root password when prompted)
# su -c "rpm -Uvh --replacefiles --replacepkgs kernel-2.6.19-1.2985.fc6.i686.rpm"
leigh123linux
12th February 2007, 12:07 AM
The installer bug does this sometimes even with "linux i686"
use this to swap the kernel
su -c "yum install yum-utils"
yumdownloader kernel.i686
su -c "rpm -ivh --replacefiles --replacepkgs kernel-2*.i686.rpm"
your kernel-devel needs changing as well
su -
yum remove kernel-devel
yum install kernel-devel
dabruhn
12th February 2007, 12:18 AM
Your help is most appreciated. Thank you.
dabruhn
12th February 2007, 12:38 AM
Liegh - I'm rather embarrased I didn't notice the link enclosed in your initial reply. My eye focused on the Quote initially. Sorry about that.
Again Thanks!
evilinux
12th February 2007, 12:58 AM
It doesnt matter if the kernel is 586 the NVIDIA driver still works as long as Kernel-Devel is the 586 version as well. but then you do want to get the 686 version so youre right to change that first, and Im about to do it again myself.
leigh123linux
12th February 2007, 08:03 AM
It doesnt matter if the kernel is 586 the NVIDIA driver still works as long as Kernel-Devel is the 586 version as well. but then you do want to get the 686 version so youre right to change that first, and Im about to do it again myself.
evilinux is wrong , the Livna driver needs a i686 kernel
================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kmod-nvidia i686 1.0.9746-1.2.6.19_1.2895.fc6 livna 2.3 M
Installing for dependencies:
kernel i686 2.6.19-1.2895.fc6 updates 16 M
xorg-x11-drv-nvidia i386 1.0.9746-7.lvn6 livna 4.9 M
Transaction Summary
================================================== ===========================
[root@precision dabruhn]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort
kernel-2.6.19-1.2895.fc6.i586
kernel-devel-2.6.18-1.2798.fc6.i586
kernel-devel-2.6.19-1.2895.fc6.i586
kernel-headers-2.6.19-1.2895.fc6.i386
Anyway who wants to use i586 if their machine is less than ten years old it will be a i686
evilinux
12th February 2007, 02:31 PM
I really dont care, because the NVIDIA driver does install because ive done it, not from livna just from the regular run file nvidia distributes, which is easy enough to use on its own. Youre spreading misinformation, I'm not, I never said the Livna one works...
Furthermore in the other thread you accused people of not typing "linux i686" correctly at the boot even though most people are having a problem with that not working, and I tried it 5 times
myself and Redhat released a fixed image patch for this problem you have not corrected your stickied post on it or apologised. If I post information which turns out to be incorrect I at least go edit it to indicate the more accurate information, hey we all make mistakes.
leigh123linux
12th February 2007, 03:18 PM
This post was about the Livna nvidia driver ,If you have nothing useful to add dont bother commenting ! (troll)
I really dont care, because the NVIDIA driver does install because ive done it, not from livna just from the regular run file nvidia distributes, which is easy enough to use on its own. Youre spreading misinformation, I'm not, I never said the Livna one works...
Furthermore in the other thread you accused people of not typing "linux i686" correctly at the boot even though most people are having a problem with that not working, and I tried it 5 times
myself and Redhat released a fixed image patch for this problem you have not corrected your stickied post on it or apologised. If I post information which turns out to be incorrect I at least go edit it to indicate the more accurate information, hey we all make mistakes.
I suppose the official site is wrong as well according to you. :rolleyes:
http://fedoraproject.org/wiki/Bugs/FC6Common
http://forums.fedoraforum.org/showthread.php?t=25826
Typing linux i686 did nothing for me. Still ended up with the i586 kernel.
Ok there Leigh123, I have to be honest. I've replied here that the 'linux i686' thing has never worked for me. Well, I installed FC6 again last night, on a seperate partition, and used the 'linux i686' command parameter. This time it worked properly. The output of:
rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort
showed that the i686 kernel was indeed installed. Just want to be fair when I post in the forums, but I wonder why it seems to be hit or miss as to whether it will work or not.
To apply an installer update image during install, here are the instructions from the Fedora project.
http://fedoraproject.org/wiki/Anaconda/Updates
There is a link for the update image below the Common problems heading here.
http://fedoraproject.org/wiki/Bugs/FC6Common
In my case, I downloaded rawrite on a Win machine and wrote the image to a floppy then booted the FC6 disk and entered "linux updates" at the boot installer prompt. You will be prompted for the floppy.
Bigjoe
Dies
12th February 2007, 04:43 PM
Now wait a second leigh, this guy might be on to something. Look at all those posts, all that time spent spreading misinformation around here. That's probably hundreds of people you've "helped", with your "how-to's" and "walkthroughs" and such.
I'm surprised YOU haven't been banned yet. :p
bob
12th February 2007, 04:54 PM
People, let's cut the bickering and name-calling. This is supposed to be all about helping members. The correct way from the official site: http://fedoraproject.org/wiki/Bugs/FC6Common is to fix the i586 to make it i686. So, even if you can make it work as i586, it's not correct (so says me-for what that's worth).
But, I'd CERTAINLY appreciate it if people had disagreements, to take them off-line to PM's or emails rather than air them before a new member. We have a reputation of being one of the friendliest, most knowledgeable sites in linux and I'd appreciate keeping it.
leigh123linux
12th February 2007, 06:41 PM
Sorry Bob this other member seems to have a issue with me for some reason :confused:
evilinux
12th February 2007, 07:25 PM
thanks Bob I agree with you. I was merely pointing out the fact that the drivers can be installed on the 586 kernel, not that anyone will want to. :) I have no issue with you leigh , I merely asked for you to append the information about the update img onto your stickied topic so that others dont waste time trying to install with the "linux i686" option when it may not work for them. The pertinent information is found in the thread, but if you appended it, it would all be found in the first post. I apologise if that came off sounding as an attack, it is not! :)
leigh123linux
12th February 2007, 07:34 PM
Any better
http://forums.fedoraforum.org/showthread.php?p=694678#post694678
JN4OldSchool
12th February 2007, 07:41 PM
Any better
http://forums.fedoraforum.org/showthread.php?p=694678#post694678
well, I'm very much relieved! Just thinking of the countless seconds saved by NOT typing "linux i686" on install makes me feel it was a job well worth doing and a job well done. :D
evilinux
12th February 2007, 08:56 PM
Any better
http://forums.fedoraforum.org/showthread.php?p=694678#post694678 :) yup its 100% now! I had to do the floppy install myself. that worked like a charm. I was just a little annoyed that I had accidentally wrecked the setup i had worked 3 days on and spent an hour trying to reinstall with a 686 kernel from get go. the yum replacement worked great, I am not sure if that would affect anything though, changing the kernel after install, because I am new at this. Some software might be configured to run without the sse/sse2 instructions or something if I did not have the right kernel on first boot. That might not be the case, Im really new to this.
leigh123linux
12th February 2007, 09:10 PM
Swapping the kernel after install works fine, It doesn't cause any problems that I am aware of.
If you haven't already found these guides for FC6 ,you might find some useful tips.
http://www.mjmwired.net/resources/mjm-fedora-fc6.html
http://www.fedorafaq.org/
http://www.fedorafriend.org/
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.