Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
apt-get kernel 2.6
#13

Just relating my experiences...

I recently build a Ubuntu 10.10 box (logan) from a unetbootin image (boot from USB pen), then used apt-get to install apps I was missing as well as updating current packages to their newer counterparts, but came across something interesting: one of my other boxes (neptune), updated to the hilt, had kernel version 2.6.35-31-generic... however after an "apt-get update" and "apt-get upgrade" to bring all the packages up to their latest, logan was still on 2.6.35-22. Weird.

 

I could run "apt-get install linux-headers-2.6.35-31" (and also linux-headers-2.6.35-31-generic) which would bring the newer kernel down, but after a reboot I was still on 2.6.35-22.

 

Eventually I fathomed out the issue, which required two things to be done:

<ol style="list-style-type: decimal">
[*]Install linux-image-2.6.35-31-generic


[*]Run "update-grub".


</ol>


The second command rebuilds your grub.cfg, but the "10_linux" script which adds kernel images to the boot loader only finds them if the "linux-image" package is installed, so consequently any manually-installed kernels were being overlooked previously.

 

Once I'd put the right package in place (the install of which re-ran "update-grub" automatically) a reboot showed the newer kernel in use, and the older ones could be cleared out with "apt-get remove linux-headers-2.6.35-22" etc.

 

Just surprised that an "apt-get upgrade" didn't bring down newer kernels, but hope those are pointers for anyone who wants to do kernel updates.

Reply


Messages In This Thread
apt-get kernel 2.6 - by hijinks - 2004-01-16, 04:26 PM
apt-get kernel 2.6 - by hijinks - 2004-01-16, 04:55 PM
apt-get kernel 2.6 - by anyweb - 2004-01-22, 04:55 PM
apt-get kernel 2.6 - by grep420 - 2004-01-22, 05:19 PM
apt-get kernel 2.6 - by grep420 - 2004-01-23, 08:28 AM
apt-get kernel 2.6 - by deraj - 2004-01-25, 09:11 AM
apt-get kernel 2.6 - by grep420 - 2004-01-26, 06:19 PM
apt-get kernel 2.6 - by robbin - 2009-10-08, 12:44 AM
apt-get kernel 2.6 - by anyweb - 2009-10-08, 08:15 AM
apt-get kernel 2.6 - by znx - 2009-10-08, 08:57 PM
apt-get kernel 2.6 - by robbin - 2009-10-31, 03:35 AM
apt-get kernel 2.6 - by Dungeon-Dave - 2012-01-14, 09:07 PM
apt-get kernel 2.6 - by hybrid - 2012-01-16, 04:23 PM
apt-get kernel 2.6 - by Dungeon-Dave - 2012-01-16, 07:05 PM
apt-get kernel 2.6 - by hybrid - 2012-01-25, 10:00 AM
apt-get kernel 2.6 - by Dungeon-Dave - 2012-01-25, 12:59 PM
apt-get kernel 2.6 - by deraj - 2004-01-22, 06:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)