Re: [SLE] How-to on kernel upgrade using apt?
Richard Bos wrote:
Op dinsdag 6 januari 2004 22:27, schreef u:
The reason I ask is that I inadvertently did an apt-get dist-upgrade yesterday that included k_deflt (should have looked a little better)
:-( There was no prompt to do the mk_initrd.
It's done automatically, so you are not asked for it.
I got a nice surprise when I tried a reboot later and got a kernel panic. I then remembered the apt-get dist-upgrade earlier and remembered I had entries in my sources.list that would have upgraded the kernel. I do want to update it, but the right way (so I can reboot ) ;-)
Which kernel rpm do you use k_deflt k_smp something else k_athlon?
If you do not want apt to upgrade your kernel automatically set the rpm::Hold variable in /etc/apt/apt.conf
RPM { // Hold (do not update) a list with pkgs: // Hold { "k_deflt"; "sane"; }; // Leave list empty to disable
Thanks, Richard. I had read up on that earlier today and it's now in my /etc/apt/apt.conf. I use k_deflt, but I'm assuming it didn't automatically execute 'mk_initrd' as I could boot once I restarted the machine.
participants (1)
-
Trey Sizemore