Ron Hunter-Duvar wrote:
On 2006 July 13 12:39, Christopher Taylor wrote:
Ron,

I think you just need to install the kernel source for the kernel you are
running and then try the update again.

Well, I had kernel source installed already for my 2.6.12-12 kernel - I had to have it to get my nvidia driver installed. The problem is that Mandriva keeps several generations of kernel available (I see -12, -21 and -22 currently), but only keeps source for the very latest of these available. If you don't grab the source for your kernel at the time you upgrade it, you risk never being able to get it again.

I went ahead and upgraded my kernel to the latest. Then urpmi tells me that the source for it, as well as the dkms and nvidia driver and library are already installed. Another update tells me everything is installed.

I think I figured out what happened: an urpmi update will never install a new kernel, this always has to be done manually, so it left me on the old kernel. But it upgraded all these other packages anyway. The message that had me so concerned seems to be warning me about uninstalling a driver that is in use, because it's uninstalled the old version in order to install the new version. The installation of the new version gave me the warning about not finding the source to match my kernel. For some reason, the source must have been updated or removed by some update that I've done. I do like to live slightly dangerously by leaving the "--update" flag, and just doing the following:

urpmi.update -a
urpmi --auto --auto-select

Perhaps this led to the kernel-source being updated.

Anyway, I think I'm in a consistent state now. So I'll try the reboot, and if you don't hear from me for a while, I might have broken it 8^).

Thanks.

If you need the kernel source to match your kernel, but you like to live dangerously by running automatic updates, you can add kernel-source to your urpmi skip list and your automatic updates won't update it.

--
Regards
Margot
*-*-*-*
Sent using Thunderbird on a 100% Microsoft-Free Computer
Registered Linux User 307617 http://counter.li.org
Mandriva Linux release 2006.0 (Community) for i586 kernel 2.6.12-15mdk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You are confused; but this is your normal state.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
____________________________________________________
Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to