PDA

View Full Version : [server] Error! Could not locate dkms.conf file.



cosy2
April 13th, 2019, 11:18 PM
Setting up linux-headers-4.15.0-47-generic (4.15.0-47.50) ...
/etc/kernel/header_postinst.d/dkms:
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4
dpkg: error processing package linux-headers-4.15.0-47-generic (--configure):
installed linux-headers-4.15.0-47-generic package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-4.15.0-47-generic; however:
No apport report written because the error message indicates its a followup error from a previous failure.
Package linux-headers-4.15.0-47-generic is not configured yet.

dpkg: error processing package linux-headers-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 4.15.0.47.49); however:
Package linux-headers-generic is not configured yet.

dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Processing triggers for linux-image-4.15.0-47-generic (4.15.0-47.50) ...
No apport report written because the error message indicates its a followup error from a previous failure.
/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-47-generic (--configure):
installed linux-image-4.15.0-47-generic package post-installation script subprocess returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-headers-4.15.0-47-generic
linux-headers-generic
linux-generic
linux-image-4.15.0-47-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)


on a simple update

chlorus
April 17th, 2019, 08:28 PM
I am receiving an identical error - had to boot the prior kernel version (.46) to get a working machine.
Do you have the Nvidia proprietary drivers installed, by chance? That's the only thing that dkms status lists for me.

cosy2
April 19th, 2019, 10:54 AM
I am receiving an identical error - had to boot the prior kernel version (.46) to get a working machine.
Do you have the Nvidia proprietary drivers installed, by chance? That's the only thing that dkms status lists for me.

nope no nvidia, was virtual box, rm dkms and virtualbox update and then install dkms and vb again

cosy2
August 13th, 2019, 07:45 AM
let me bump this again because i got this crap again