Can confirm, NOT a hardware problem. Happens immediately after a bionic install and update:
$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 1 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-image-4.15.0-29-generic (4.15.0-29.31) ... Processing triggers for linux-image-4.15.0-29-generic (4.15.0-29.31) ... /etc/kernel/postinst.d/dkms: Error! Could not locate dkms.conf file. File: does not exist. run-parts: /etc/kernel/postinst.d/dkms exited with return code 4 dpkg: error processing package linux-image-4.15.0-29-generic (--configure): installed linux-image-4.15.0-29-generic package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: linux-image-4.15.0-29-generic needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1) You have new mail in /var/mail/root -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1782818 Title: package linux-image-4.15.0-29-generic 4.15.0-29.31~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 135 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe/+bug/1782818/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs