Results 1 to 4 of 4

Thread: Error! Could not locate dkms.conf file.

  1. #1
    Join Date
    Nov 2006
    Beans
    60

    Error! Could not locate dkms.conf file.

    Code:
    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

  2. #2
    Join Date
    Apr 2019
    Beans
    1

    Re: Error! Could not locate dkms.conf file.

    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.

  3. #3
    Join Date
    Nov 2006
    Beans
    60

    Re: Error! Could not locate dkms.conf file.

    Quote Originally Posted by chlorus View Post
    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

  4. #4
    Join Date
    Nov 2006
    Beans
    60

    Re: Error! Could not locate dkms.conf file.

    let me bump this again because i got this crap again

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •