PDA

View Full Version : Can some one explain this for me from livna?



deepfreeze
28th October 2006, 07:51 PM
hi guys,

I found this news in livna (http://rpm.livna.org/) :-


Wednesday, October the 25th: kmod packages from livna

When installing packages with kmods (e.g. the ati and nvidia drivers) you might run into trouble like this:


Transaction Check Error: package kernel-2.6.18-1.2798.fc6 is already installed
file /boot/System.map-2.6.18-1.2798.fc6 from install of kernel-2.6.18-1.2798.fc6 conflicts with file from package kernel-2.6.18-1.2798.fc6
file /boot/config-2.6.18-1.2798.fc6 from install of kernel-2.6.18-1.2798.fc6 conflicts with file from package kernel-2.6.18-1.2798.fc6
file /boot/symvers-2.6.18-1.2798.fc6.gz from install of kernel-2.6.18-1.2798.fc6 conflicts with file from package kernel-2.6.18-1.2798.fc6
file /boot/vmlinuz-2.6.18-1.2798.fc6 from install of kernel-2.6.18-1.2798.fc6 conflicts with file from package kernel-2.6.18-1.2798.fc6

This is due to a bug in anaconda (the Fedora Core installer) that accidentally installed an i586 kernel on your i686 machine. Workaround

* switch to the i686 kernel and try again after a reboot
* install the i586 version of the kmod (e.g. run "yum install kmod-nvidia.i586")



I am still a noob in Linux, can some one explain that for me? What I can understand now is that we either use a new kernel (i686) or when installing nvidia we have to include the (.i586) due to kernel change.

tgm4883
28th October 2006, 08:34 PM
Ok, the anaconda installer has a bug, if you have an i686 processor it may installer the i586 kernel instead of the i686 kernel by mistake. This will cause problems if you want to install any kmod. For instance I was having trouble installing my madwifi drivers for my atheros card. Turns out, I had the i586 kernel installed instead of the i686 kernel installed, so when I was trying to install the madwifi drivers it was trying to set it up for a i686 (cause thats what i have) but I only had the i586 kernel.

Geez, thats really confusing.

Try this.

If you want to install any kmod, then you need to figure out what kernel you have installed. If you have the correct kernel installed (i586 for i586, i686 for i686) then your fine.

If you have the incorrect kernel installed then you either have to install the correct kernel, or select the correct kmod for the kernel that you have.

pparks1
28th October 2006, 08:36 PM
You can do this.

1st: put in the actual Fedora Core 6 CD (or DVD).
2nd: mount the FC6 cd/dvd
3rd: Remove the currently running kernel rpm -e --nodeps kernel
4th: load the i686 kernel from the cd. rpm -ivh kernel-2*.i686.rpm

Be very careful with the above. If you reboot between steps 3 and 4, your system will not function.

daedalus_hammer
28th October 2006, 10:25 PM
You can do this.

1st: put in the actual Fedora Core 6 CD (or DVD).
2nd: mount the FC6 cd/dvd
3rd: Remove the currently running kernel rpm -e --nodeps kernel
4th: load the i686 kernel from the cd. rpm -ivh kernel-2*.i686.rpm

Be very careful with the above. If you reboot between steps 3 and 4, your system will not function.
Wow, it's that simple?
I actually installed the xen kernel + kernel-devel (that's what a site said), then reboot under that kernel, then used yumex to uninstall my old kernel; even worse, I couldn't find a kernel for i686 with yumex; I did "yum kernel" and it actually installed the i686 kernel.
Don't mind if I qote your post and put it on a site that deals with nvidia driver installation?