Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
running aptitude purge again
$ sudo aptitude purge \
> 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
The following packages will be REMOVED:
linux-image-extra-3.13.0-100-generic{p} linux-image-extra-3.13.0-101-generic{p} linux-image-extra-3.13.0-92-generic{p} linux-image-extra-3.13.0-93-generic{p}
linux-image-extra-3.13.0-96-generic{p}
0 packages upgraded, 0 newly installed, 5 to remove and 7 not upgraded.
Need to get 0 B of archives. After unpacking 568 MB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 46327 files and directories currently installed.)
Removing linux-image-extra-3.13.0-100-generic (3.13.0-100.147) ...
depmod: FATAL: could not load /boot/System.map-3.13.0-100-generic: No such file or directory
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
grep: /boot/config-3.13.0-100-generic: No such file or directory
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 (--purge):
subprocess installed post-removal script returned error exit status 1
Removing linux-image-extra-3.13.0-101-generic (3.13.0-101.148) ...
depmod: FATAL: could not load /boot/System.map-3.13.0-101-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-101-generic /boot/vmlinuz-3.13.0-101-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-101-generic /boot/vmlinuz-3.13.0-101-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-101-generic
grep: /boot/config-3.13.0-101-generic: No such file or directory
WARNING: missing /lib/modules/3.13.0-101-generic
Device driver support needs thus be built-in linux image!
depmod: ERROR: could not open directory /lib/modules/3.13.0-101-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-101-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-101-generic (--purge):
subprocess installed post-removal script returned error exit status 1
Removing linux-image-extra-3.13.0-92-generic (3.13.0-92.139) ...
depmod: FATAL: could not load /boot/System.map-3.13.0-92-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-92-generic /boot/vmlinuz-3.13.0-92-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-92-generic /boot/vmlinuz-3.13.0-92-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-92-generic
grep: /boot/config-3.13.0-92-generic: No such file or directory
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-92-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-92-generic (--purge):
subprocess installed post-removal script returned error exit status 1
Removing linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
depmod: FATAL: could not load /boot/System.map-3.13.0-93-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
grep: /boot/config-3.13.0-93-generic: No such file or directory
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-93-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-93-generic (--purge):
subprocess installed post-removal script returned error exit status 1
Removing linux-image-extra-3.13.0-96-generic (3.13.0-96.143) ...
depmod: FATAL: could not load /boot/System.map-3.13.0-96-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-96-generic
grep: /boot/config-3.13.0-96-generic: No such file or directory
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-96-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-96-generic (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
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
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
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.