I have the same problem, while doing a regular upgrade the process freezes while running dkms on the linux-headers-4.13.0-17 and linux- image-extra-4.13.0-17-generic.
uname: Linux mywks 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux After killing the dkms processes, I did sudo apt-get install -f (as suggested) which also froze: $ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-4.13.0-17 thermald Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: linux-image-extra-4.13.0-17-generic 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 3 not fully installed or removed. After this operation, 163 MB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 181870 files and directories currently installed.) Removing linux-image-extra-4.13.0-17-generic (4.13.0-17.20) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.0-17-generic /boot/vmlinuz-4.13.0-17-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.13.0-17-generic /boot/vmlinuz-4.13.0-17-generic (it freezes here). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731060 Title: package linux-image-extra-4.13.0-17-generic 4.13.0-17.20 failed to install/upgrade: il sottoprocesso installato script di post-removal ha restituito lo stato di errore 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1731060/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
