MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I recently discovered that I installed the wrong kernel-source version shortly after I installed Mandrake. My kernel version is 184.108.40.206-12mdk, but I mistakenly installed the source for 220.127.116.11-24mdk. I corrected this by installing the source to match my kernel (using rpm --oldpackage), and then updating sym links in /lib/modules.
My problem now is that the newer source version (...-24mdk) is showing up in my urpmi updates list. I can't find any option for removing a certain package from the urmpi database, so how can I avoid downloading and installing this source over the top of the correct source version?
Thanks for the response. I have considered moving to a new kernel, but still holding off out of fear of hosing my system. I think I'm about comfortable enough in my direction-following abilities to go ahead with it soon, though.
Actually, in the file skip.list located in /etc/urpmi you can add an entry for the packages that you don't want urpmi to install.
My skip.list file has the following entries:
If you use urpmi --update --auto-select, then any package that begins with what is in your skip.list will be skipped. Or if you specifically try to install grub.whatevever.rpm it would refuse (as long as you use urpmi and not just rpm as the command).
From the MCC, the packages will still show up in the list of available packages to be updated but if you clicked on them and tried to install them, it would refuse.
When you so choose to install anything in your skip.list file, edit the file, remove the entry, save it and continue as your were.
I also just found out that the kernel updates do not appear under updates in the MCC but they appear under Install while an updated kernel-source will appear under updates. At least if the kernel-source appears you know that a new kernel has been released.
I can only suspect this is so that the user has the option to install multiple kernels via the GUI whereas if it was under updates it would overwrite it(?).
And don't know if it needs to be mentioned here but as a reminder its always a good idea to install a new kernel in parallel with your current one and give it a go first before removing the old one.