Created
November 28, 2016 07:21
-
-
Save giuseb/42d45897599e0a3bd454b075dbe5005d to your computer and use it in GitHub Desktop.
purging all unwanted headers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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