Just happened to me, too. The reason is a logic error: If dkms is removed, but not purged, the conf-files will not get deleted from the system. As a result, the assumption that the package contents are available if the conf-file is available is wrong.
-> please add a check to /etc/kernel/postinst.d/dksm to ensure that /var/lib/dkms/dkms_autoinstaller is available before calling it. Thanks, Stefan. ** Changed in: dkms (Ubuntu) Status: Incomplete => Confirmed ** Changed in: dkms (Ubuntu) Status: Confirmed => Triaged -- package linux-image-2.6.31-15-generic 2.6.31-15.49 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/dkms exited with return code 1 https://bugs.launchpad.net/bugs/480055 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs