I typically run the Update Manager daily; as of a few days ago, every time I run the Update the manager I get an error now.
So, I tried to do the
sudo apt-get updatefollow by
sudo apt-get upgrade. And this produced the following, verbose error messages... (can anyone tell me how to get back to a clean update, sans error messages)?
Code: Select all
$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up linux-firmware (1.157.19) ... update-initramfs: Generating /boot/initrd.img-4.13.0-41-generic E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1. update-initramfs: failed for /boot/initrd.img-4.13.0-41-generic with 1. dpkg: error processing package linux-firmware (--configure): subprocess installed post-installation script returned error exit status 1 Setting up linux-image-4.13.0-43-generic (4.13.0-43.48~16.04.1) ... Running depmod. update-initramfs: deferring update (hook will be called later) The link /initrd.img is a dangling linkto /boot/initrd.img-4.13.0-43-generic mountpoint: /usr/local/lib/libuuid.so.1: no version information available (required by /lib/x86_64-linux-gnu/libblkid.so.1) vmlinuz(/boot/vmlinuz-4.13.0-43-generic ) points to /boot/vmlinuz-4.13.0-43-generic (/boot/vmlinuz-4.13.0-43-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.13.0-43-generic.postinst line 491. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.13.0-43-generic /boot/vmlinuz-4.13.0-43-generic update-initramfs: Generating /boot/initrd.img-4.13.0-43-generic E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1. update-initramfs: failed for /boot/initrd.img-4.13.0-43-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.13.0-43-generic.postinst line 1052. dpkg: error processing package linux-image-4.13.0-43-generic (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of linux-image-extra-4.13.0-43-generic: linux-image-extra-4.13.0-43-generic depends on linux-image-4.13.0-43-generic; however: Package linux-image-4.13.0-43-generic is not configured yet. dpkg: error processing package linux-image-extra-4.13.0-43-generic (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: linux-firmware linux-image-4.13.0-43-generic linux-image-extra-4.13.0-43-generic E: Sub-process /usr/bin/dpkg returned an error code (1)