sudo apt-get --purge autoremove [sudo] password for pete: Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-headers-3.16.0-29* linux-headers-3.16.0-29-generic* linux-image-3.16.0-29-generic* linux-image-extra-3.16.0-29-generic* 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. After this operation, 231 MB disk space will be freed. Do you want to continue? [Y/n] y dpkg: warning: parsing file '/var/lib/dpkg/status' near line 3796 package 'libxshmfence1:i386': missing description (Reading database ... 200237 files and directories currently installed.) Removing linux-headers-3.16.0-29-generic (3.16.0-29.39) ... Removing linux-headers-3.16.0-29 (3.16.0-29.39) ... Removing linux-image-extra-3.16.0-29-generic (3.16.0-29.39) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-29-generic /boot/vmlinuz-3.16.0-29-generic dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 3796 package 'libxshmfence1:i386': missing description run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-29-generic /boot/vmlinuz-3.16.0-29-generic update-initramfs: Generating /boot/initrd.img-3.16.0-29-generic run-parts: executing /etc/kernel/postinst.d/pm-utils 3.16.0-29-generic /boot/vmlinuz-3.16.0-29-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-29-generic /boot/vmlinuz-3.16.0-29-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-29-generic /boot/vmlinuz-3.16.0-29-generic Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.16.0-30-generic Found initrd image: /boot/initrd.img-3.16.0-30-generic Found linux image: /boot/vmlinuz-3.16.0-29-generic Found initrd image: /boot/initrd.img-3.16.0-29-generic Found linux image: /boot/vmlinuz-3.16.0-23-generic Found initrd image: /boot/initrd.img-3.16.0-23-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin Found Ubuntu 12.04.3 LTS (12.04) on /dev/sda1 Found Windows NT/2000/XP (loader) on /dev/sda3 done Purging configuration files for linux-image-extra-3.16.0-29-generic (3.16.0-29.39) ... Removing linux-image-3.16.0-29-generic (3.16.0-29.39) ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.16.0-29-generic /boot/vmlinuz-3.16.0-29-generic update-initramfs: Deleting /boot/initrd.img-3.16.0-29-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.16.0-29-generic /boot/vmlinuz-3.16.0-29-generic Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.16.0-30-generic Found initrd image: /boot/initrd.img-3.16.0-30-generic Found linux image: /boot/vmlinuz-3.16.0-23-generic Found initrd image: /boot/initrd.img-3.16.0-23-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin Found Ubuntu 12.04.3 LTS (12.04) on /dev/sda1 Found Windows NT/2000/XP (loader) on /dev/sda3 done The link /vmlinuz.old is a damaged link Removing symbolic link vmlinuz.old you may need to re-run your boot loader[grub] The link /initrd.img.old is a damaged link Removing symbolic link initrd.img.old you may need to re-run your boot loader[grub] Purging configuration files for linux-image-3.16.0-29-generic (3.16.0-29.39) ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.16.0-29-generic /boot/vmlinuz-3.16.0-29-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.16.0-29-generic /boot/vmlinuz-3.16.0-29-generic pete@pj:~$