tom@Tom-Ubunt2:~$ sudo dpkg -P linux-image-extra-3.16.0-72-generic
[sudo] password for tom:
(Reading database ... 442191 files and directories currently installed.)
Removing linux-image-extra-3.16.0-72-generic (3.16.0-72.93~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-72-generic /boot/vmlinuz-3.16.0-72-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-72-generic /boot/vmlinuz-3.16.0-72-generic
Error! Your kernel headers for kernel 3.16.0-72-generic cannot be found.
Please install the linux-headers-3.16.0-72-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 3.16.0-72-generic cannot be found.
Please install the linux-headers-3.16.0-72-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 3.16.0-72-generic cannot be found.
Please install the linux-headers-3.16.0-72-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-72-generic /boot/vmlinuz-3.16.0-72-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-72-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.16.0-72-generic /boot/vmlinuz-3.16.0-72-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.16.0-72-generic /boot/vmlinuz-3.16.0-72-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.16.0-72-generic /boot/vmlinuz-3.16.0-72-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.16.0-72-generic /boot/vmlinuz-3.16.0-72-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-4.4.0-52-generic
Found kernel: /vmlinuz-4.4.0-51-generic
Found kernel: /vmlinuz-4.4.0-49-generic
Found kernel: /vmlinuz-4.4.0-46-generic
Found kernel: /vmlinuz-3.16.0-73-generic
Found kernel: /vmlinuz-3.16.0-72-generic
Found kernel: /vmlinuz-3.16.0-71-generic
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done
Purging configuration files for linux-image-extra-3.16.0-72-generic (3.16.0-72.93~14.04.1) ...
tom@Tom-Ubunt2:~$