On Mon, 7 Apr 2008 01:08:33 Jan Engelhardt wrote:
On Sunday 2008-04-06 16:03, Felix Miata wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
...
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Don't use YaST. Use Smart. http://lists.labix.org/pipermail/smart-labix.org/2008-March/003439.htm l
This is totally unrelated to above problem, smart will break it the same way.
smart flag --set multi-version kernel-default
If Marcus had bothered to read the URL he quoted he should have noticed another option, which is what I use, and why I provided that reference instead of an otherwise empty suggestion:
smart flag --set lock kernel-default
I pick and choose when to install a kernel manually.
0. smart flag --set lock kernel-default 1. smart download kernel-default 2. rpm -ihv kernel-default
vs.
0. smart flag --set multi-version kernel-default 1. smart install kernel-default
that's one step shorter! I just remembered this multi-version thing because it occurred to me that I had lots of kernel-sources floating around time and again. Which is kinda bleak, smart should come with multi-version kernel-* NOT multi-version kernel-source It's a 150 MB difference per installed package dammit! Anyway...
This is (probably the only) one advantage that yum has over smart or yast. You can tell it how many previous versions of the kernel to keep by a simple setting in the config file. If the kernel sources are installed it will automatically keep them in sync with the installed kernel versions. From that point of view, yum gets it right. Aren't YaST repositories basically the same as yum repositories? Try using Yum to manage kernel updates instead. As a former Fedora user, I never had a problem with yum breaking the system. Cheers, Rodney. -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== One of the oldest problems puzzled over in the Talmud is: "Why did God create goyim?" The generally accepted answer is "________somebody has to buy retail." -- Arthur Naiman, "Every Goy's Guide to Yiddish"