sudo apt-get autoremove
[sudo] password for garrie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
linux-headers-generic-lts-utopic
0 to upgrade, 0 to newly install, 1 to remove and 66 not to upgrade.
1 not fully installed or removed.
After this operation, 27.6 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 420910 files and directories currently installed.)
Removing linux-headers-generic-lts-utopic (3.16.0.40.32) ...
Setting up linux-image-extra-3.16.0-40-generic (3.16.0-40.54~14.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-40-generic /boot/vmlinuz-3.16.0-40-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-40-generic /boot/vmlinuz-3.16.0-40-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-40-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-40-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.16.0-40-generic (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-extra-3.16.0-40-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
garrie@garrie-desktop:/boot$