On Sat, 2005-05-28 at 03:57 +0200, Thomas Zehetbauer wrote:
I have been using "rpm -qa|grep kernel" and "rpm -e $kernel" for a while but I wonder if yum can be configured to treat kernels as normal packages, e.g. "installonlypkgs=" in yum.conf (which does not work).
I believe this is actually hard-coded in yum.
One of the consequences of allowing a kernel to be upgraded instead of installed would be that the currently-running kernel plus all of its modules would be deleted when the new kernel was added. So any operation that needed to load a module (e.g. starting ppp if the ppp modules weren't already loaded) would fail. There might be more significant issues too (has anyone tried removing their currently-running kernel to see what happens? not something I intend to try!).
I've done it accidentally (on Debian I think). No great drama as all needed modules were loaded. However, I did reinstall the kernel, JIC:-)
--
Cheers John
-- spambait 1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx Z1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/