Public bug reported: removal of linux-image-extra-3.19.0-15-generic fails due to
Removing linux-image-extra-3.19.0-15-generic (3.19.0-15.15) ... depmod: FATAL: could not load /boot/System.map-3.19.0-15-generic: No such file or directory run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-15-generic /boot/vmlinuz-3.19.0-15-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-15-generic /boot/vmlinuz-3.19.0-15-generic update-initramfs: Generating /boot/initrd.img-3.19.0-15-generic WARNING: missing /lib/modules/3.19.0-15-generic Ensure all necessary drivers are built into the linux image! depmod: ERROR: could not open directory /lib/modules/3.19.0-15-generic: No such file or directory depmod: FATAL: could not search modules: No such file or directory sed: can't read /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth: No such file or directory E: /usr/share/initramfs-tools/hooks/plymouth failed with return 2. update-initramfs: failed for /boot/initrd.img-3.19.0-15-generic with 2. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2 dpkg: error processing package linux-image-extra-3.19.0-15-generic (--remove): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: linux-image-extra-3.19.0-15-generic E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:15.10.14.4 ProcVersionSignature: Ubuntu 4.2.0-30.36-generic 4.2.8-ckt3 Uname: Linux 4.2.0-30-generic x86_64 ApportVersion: 2.19.1-0ubuntu5 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: Unity Date: Mon Feb 29 00:42:15 2016 EcryptfsInUse: Yes InstallationDate: Installed on 2016-02-27 (1 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: dist-upgrade UpgradeStatus: Upgraded to xenial on 2016-02-28 (0 days ago) ** Affects: ubuntu-release-upgrader (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug dist-upgrade xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1551042 Title: removal of linux-image-extra-3.19.0-15-generic fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1551042/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs