I've encountered the same problem, but your fix does not work for me. When trying to autoinstall the ubuntu-drivers I get:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. But the dpkg command just hangs on: Setting up linux-image-4.13.0-19-generic (4.13.0-19.22) ... 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-19-generic vmlinuz(/boot/vmlinuz-4.13.0-19-generic ) points to /boot/vmlinuz-4.13.0-19-generic (/boot/vmlinuz-4.13.0-19-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.13.0-19-generic.postinst line 491. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.0-19-generic /boot/vmlinuz-4.13.0-19-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.13.0-19-generic /boot/vmlinuz-4.13.0-19-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1737133 Title: package linux-image-4.13.0-19-generic 4.13.0-19.22 failed to install/upgrade: subprocess installed post-installation script was killed by signal (Terminated) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1737133/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
