Hoping someone can help me with this. I get the following when using the apt-get upgrade command or when installing something (doesn't affect what I am installing)
Code:
Setting up linux-image-4.10.0-21-generic (4.10.0-21.23) ... Running depmod. update-initramfs: deferring update (hook will be called later) The link /initrd.img is a dangling linkto /boot/initrd.img-4.10.0-21-generic vmlinuz(/boot/vmlinuz-4.10.0-21-generic ) points to /boot/vmlinuz-4.10.0-21-generic (/boot/vmlinuz-4.10.0-21-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.10.0-21-generic.postinst line 491. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-21-generic /boot/vmlinuz-4.10.0-21-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.10.0-21-generic /boot/vmlinuz-4.10.0-21-generic Error! Could not locate dkms.conf file. File: does not exist. run-parts: /etc/kernel/postinst.d/dkms exited with return code 4 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.10.0-21-generic.postinst line 1052. dpkg: error processing package linux-image-4.10.0-21-generic (--configure): subprocess installed post-installation script returned error exit status 2 Setting up linux-image-4.10.0-19-generic (4.10.0-19.21) ... Running depmod. update-initramfs: deferring update (hook will be called later) Not updating initrd symbolic links since we are being updated/reinstalled (4.10.0-19.21 was configured last, according to dpkg) Not updating image symbolic links since we are being updated/reinstalled (4.10.0-19.21 was configured last, according to dpkg) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.10.0-19-generic /boot/vmlinuz-4.10.0-19-generic Error! Could not locate dkms.conf file. File: does not exist. run-parts: /etc/kernel/postinst.d/dkms exited with return code 4 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.10.0-19-generic.postinst line 1052. dpkg: error processing package linux-image-4.10.0-19-generic (--configure): subprocess installed post-installation script returned error exit status 2 Setting up linux-headers-4.10.0-21-generic (4.10.0-21.23) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 4.10.0-21-generic /boot/vmlinuz-4.10.0-21-generic Error! Could not locate dkms.conf file. File: does not exist. run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4 Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-4.10.0-21-generic.postinst line 110. dpkg: error processing package linux-headers-4.10.0-21-generic (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of linux-image-generic: linux-image-generic depends on linux-image-4.10.0-21-generic; however: Package linux-image-4.10.0-21-generic is not configured yet. dpkg: error processing package linux-image-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-headers-generic: linux-headers-generic depends on linux-headers-4.10.0-21-generic; however: Package linux-headers-4.10.0-21-generic is not configured yet. dpkg: error processing package linux-headers-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-image-extra-4.10.0-19-generic: linux-image-extra-4.10.0-19-generic depends on linux-image-4.10.0-19-generic; however: Package linux-image-4.10.0-19-generic is not configured yet. dpkg: error processing package linux-image-extra-4.10.0-19-generic (--configure): dependency problems - leaving unconfigNo apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached ured dpkg: dependency problems prevent configuration of linux-image-extra-4.10.0-21-generic: linux-image-extra-4.10.0-21-generic depends on linux-image-4.10.0-21-generic; however: Package linux-image-4.10.0-21-generic is not configured yet. dpkg: error processing package linux-image-extra-4.10.0-21-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-image-generic (= 4.10.0.21.23); however: Package linux-image-generic is not configured yet. linux-generic depends on linux-headers-generic (= 4.10.0.21.23); however: Package linux-headers-generic is not configured yet. dpkg: error processing package linux-generic (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: linux-image-4.10.0-21-generic linux-image-4.10.0-19-generic linux-headers-4.10.0-21-generic linux-image-generic linux-headers-generic linux-image-extra-4.10.0-19-generic linux-image-extra-4.10.0-21-generic linux-generic E: Sub-process /usr/bin/dpkg returned an error code (1)
Comment