dist-upgrade

on

Updating the system with apt-get:

knilluz@server:~$ sudo apt-get update
 Ign http://nl.archive.ubuntu.com precise InRelease
 Ign http://nl.archive.ubuntu.com precise-updates InRelease
 Ign http://nl.archive.ubuntu.com precise-backports InRelease
 Ign http://security.ubuntu.com precise-security InRelease
 Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
 Hit http://nl.archive.ubuntu.com precise Release.gpg
 Get:2 http://nl.archive.ubuntu.com precise-updates Release.gpg [198 B]
 Get:3 http://nl.archive.ubuntu.com precise-backports Release.gpg [198 B]
 Get:4 http://security.ubuntu.com precise-security Release [49.6 kB]
 Hit http://nl.archive.ubuntu.com precise Release
 [...]
knilluz@server:~$ sudo apt-get upgrade
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following packages have been kept back:
 linux-generic linux-image-generic
 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

to install the new linux kernel:

 knilluz@server:~$ sudo apt-get dist-upgrade
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Calculating upgrade... Done
 The following NEW packages will be installed:
 linux-image-3.2.0-32-generic
 The following packages will be upgraded:
 linux-generic linux-image-generic
 2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
 Need to get 38.5 MB of archives.
 After this operation, 149 MB of additional disk space will be used.
 Do you want to continue [Y/n]? y
 Get:1 http://nl.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.2.0-32-generic amd64 3.2.0-32.51 [38.4 MB]
 Get:2 http://nl.archive.ubuntu.com/ubuntu/ precise-updates/main linux-generic amd64 3.2.0.32.35 [1,714 B]
 Get:3 http://nl.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-generic amd64 3.2.0.32.35 [2,600 B]
 Fetched 38.5 MB in 10s (3,526 kB/s)
 Selecting previously unselected package linux-image-3.2.0-32-generic.
 (Reading database ... 27829 files and directories currently installed.)
 Unpacking linux-image-3.2.0-32-generic (from .../linux-image-3.2.0-32-generic_3.2.0-32.51_amd64.deb) ...
 Done.
 Preparing to replace linux-generic 3.2.0.29.31 (using .../linux-generic_3.2.0.32.35_amd64.deb) ...
 Unpacking replacement linux-generic ...
 Preparing to replace linux-image-generic 3.2.0.29.31 (using .../linux-image-generic_3.2.0.32.35_amd64.deb) ...
 Unpacking replacement linux-image-generic ...
 Setting up linux-image-3.2.0-32-generic (3.2.0-32.51) ...
 Running depmod.
 update-initramfs: deferring update (hook will be called later)
 Examining /etc/kernel/postinst.d.
 run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
 update-initramfs: Generating /boot/initrd.img-3.2.0-32-generic
 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
 Generating grub.cfg ...
 Found linux image: /boot/vmlinuz-3.2.0-32-generic
 Found initrd image: /boot/initrd.img-3.2.0-32-generic
 Found linux image: /boot/vmlinuz-3.2.0-29-generic
 Found initrd image: /boot/initrd.img-3.2.0-29-generic
 Found memtest86+ image: /memtest86+.bin
 done
 Setting up linux-image-generic (3.2.0.32.35) ...
 Setting up linux-generic (3.2.0.32.35) ...

Now reboot to make use of the new kernel.

knilluz@server:~$uname -a
Linux server 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

That’s it.