Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
purging all unwanted headers
$ sudo apt-get purge \
linux-headers-3.13.0-100 \
linux-headers-3.13.0-100-generic \
linux-headers-3.13.0-91 \
linux-headers-3.13.0-91-generic \
linux-headers-3.13.0-92 \
linux-headers-3.13.0-92-generic \
linux-headers-3.13.0-93 \
linux-headers-3.13.0-93-generic \
linux-headers-3.13.0-96 \
linux-headers-3.13.0-96-generic \
linux-image-3.13.0-100-generic \
linux-image-3.13.0-101-generic \
linux-image-3.13.0-92-generic \
linux-image-3.13.0-93-generic \
linux-image-3.13.0-96-generic \
linux-image-extra-3.13.0-100-generic \
linux-image-extra-3.13.0-101-generic \
linux-image-extra-3.13.0-92-generic \
linux-image-extra-3.13.0-93-generic \
linux-image-extra-3.13.0-96-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
linux-headers-3.13.0-100* linux-headers-3.13.0-100-generic*
linux-headers-3.13.0-91* linux-headers-3.13.0-91-generic*
linux-headers-3.13.0-92* linux-headers-3.13.0-92-generic*
linux-headers-3.13.0-93* linux-headers-3.13.0-93-generic*
linux-headers-3.13.0-96* linux-headers-3.13.0-96-generic*
linux-image-3.13.0-100-generic* linux-image-3.13.0-101-generic*
linux-image-3.13.0-92-generic* linux-image-3.13.0-93-generic*
linux-image-3.13.0-96-generic* linux-image-extra-3.13.0-100-generic
linux-image-extra-3.13.0-101-generic linux-image-extra-3.13.0-92-generic
linux-image-extra-3.13.0-93-generic* linux-image-extra-3.13.0-96-generic*
0 upgraded, 0 newly installed, 20 to remove and 7 not upgraded.
10 not fully installed or removed.
After this operation, 1,117 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 183687 files and directories currently installed.)
Removing linux-image-extra-3.13.0-100-generic (3.13.0-100.147) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-100-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-100-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.13.0-100-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-extra-3.13.0-100-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.