Dpkg error processing package linux generic configure

Upgrade to 23.04 from 22.10 failed with error for linux-headers-6.2.0-20-generic. How do I fix?

I have 22.10 running on a Dell laptop, received a popup to upgrade to 23.04. During the installation I got an error message stating that the installation of linux-headers-6.2.0-20-generic has failed due to an error. At the end it said that the system will be left in an unstable state. I have not restarted the laptop, but I believe it wont restart if I tried! :/ Here is the output of sudo dpkg —configure -a :

Setting up linux-image-6.2.0-20-generic (6.2.0-20.20) . Setting up linux-headers-6.2.0-20-generic (6.2.0-20.20) . /etc/kernel/header_postinst.d/dkms: * dkms: running auto installation service for kernel 6.2.0-20-generic Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der Building module: Cleaning build area. make -j4 KERNELRELEASE=6.2.0-20-generic all INCLUDEDIR=/lib/modules/6.2.0-20-generic/build/include KVERSION=6.2.0-20-generic DKMS_BUILD=1. (bad exit status: 2) ERROR (dkms apport): binary package for evdi: 1.12.0 not found Error! Bad return status for module build on kernel: 6.2.0-20-generic (x86_64) Consult /var/lib/dkms/evdi/1.12.0/build/make.log for more information. Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. . fail! run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11 dpkg: error processing package linux-headers-6.2.0-20-generic (--configure): installed linux-headers-6.2.0-20-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-6.2.0-20-generic; however: Package linux-headers-6.2.0-20-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 (= 6.2.0.20.20); 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-6.2.0-20-generic (6.2.0-20.20) . /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 6.2.0-20-generic Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der Building module: Cleaning build area. make -j4 KERNELRELEASE=6.2.0-20-generic all INCLUDEDIR=/lib/modules/6.2.0-20-generic/build/include KVERSION=6.2.0-20-generic DKMS_BUILD=1. (bad exit status: 2) ERROR (dkms apport): binary package for evdi: 1.12.0 not found Error! Bad return status for module build on kernel: 6.2.0-20-generic (x86_64) Consult /var/lib/dkms/evdi/1.12.0/build/make.log for more information. Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information. . fail! run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 dpkg: error processing package linux-image-6.2.0-20-generic (--configure): installed linux-image-6.2.0-20-generic package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: linux-headers-6.2.0-20-generic linux-headers-generic linux-generic linux-image-6.2.0-20-generic 

Источник

Читайте также:  Просмотр пдф файлов линукс

dpkg: error processing package, Could not install any package

I am new to Ubuntu. And I am using 14.04. Whenever i try to install any software i get an error with dpkg. After browsing for some time, i get some commands to try out. Nothing really helped. The first one is to run, sudo dpkg —configure -a But this is all I get when I run that,

dpkg: error processing package software-properties-common (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: dependency problems prevent configuration of software-properties-gtk: software-properties-gtk depends on software-properties-common; however: Package software-properties-common is not configured yet. dpkg: error processing package software-properties-gtk (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: software-properties-common software-properties-gtk 
Reading package lists. Done Building dependency tree Reading state information. Done 0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded. 2 not fully installed or removed. Need to get 0 B/9,370 B of archives. After this operation, 0 B of additional disk space will be used. dpkg: error processing package software-properties-common (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: dependency problems prevent configuration of software-properties-gtk: software-properties-gtk depends on software-properties-common; however: Package software-properties-common is not configured yet. No apport report written because the error message indicates its a followup error from a previous failure. dpkg: error processing package software-properties-gtk (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: software-properties-common software-properties-gtk E: Sub-process /usr/bin/dpkg returned an error code (1) 

Источник

Problem- consistent dpkg error processing package cannot configure [duplicate]

newer Ubuntu user here.Having issues with installs and updates. While attempting an install I received errors regarding some packages. Have attempted numerous generic solutions (note I have already attempted apt-get clean, update, upgrade, install -f dpkg —configure -a and sudo apt-get clean && sudo apt-get update && sudo apt-get dist-upgrade from previous questions and receive the same error.) Sorry for my english and linux knowledge.Thanks

 package is in a very bad inconsistent state; you should reinstall it before attempting configuration No apport report written because the error message indicates it's a follow-up er ror from a previous failure. No apport report written because the error message i ndicates it's a follow-up error from a previous failure. dpkg: dependency problem s prevent configuration of linux-headers-generic: linux-headers-generic depends on linux-headers-5.4.0-81-generic; however: Package linux-headers-5.4.0-81-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 (= 5.4.0.81.85); however: Package linux-headers-generic is not configured yet. dpkg: error processing package linux-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-generic-hwe-18.04: linux-generic-hwe-18.04 depends on linux-generic; however: Package linux-generic is not configured yet. dpkg: error processing package linux-generic-hwe-18.04 (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports has already been reached Errors were encountered while processing: linux-headers-5.4.0-81-generic linux-headers-generic linux-generic linux-generic-hwe-18.04 E: Sub-process /usr/bin/dpkg returned an error code (1)``` 

Источник

Читайте также:  Сколько весит директория linux

«Package linux-image-generic is not configured yet.» Error

Reading package lists. Done Building dependency tree Reading state information. Done Package 'linux-image-3.13.0-27-generic' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up linux-image-3.13.0-37-generic (3.13.0-37.64) . Running depmod. update-initramfs: deferring update (hook will be called later) Not updating initrd symbolic links since we are being updated/reinstalled (3.13.0-37.64 was configured last, according to dpkg) Not updating image symbolic links since we are being updated/reinstalled (3.13.0-37.64 was configured last, according to dpkg) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic update-initramfs: Generating /boot/initrd.img-3.13.0-37-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic P: Checking for EXTLINUX directory. found. P: Writing config for /boot/vmlinuz-3.13.0-37-generic. P: Installing debian theme. cp: cannot stat ‘/usr/share/syslinux/themes/debian-wheezy/extlinux/memtest.bin’: No such file or directory run-parts: /etc/kernel/postinst.d/zz-extlinux exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-37-generic.postinst line 1025. dpkg: error processing package linux-image-3.13.0-37-generic (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-37-generic: linux-image-extra-3.13.0-37-generic depends on linux-image-3.13.0-37-generic; however: Package linux-image-3.13.0-37-generic is not configured yet. dpkg: error processing package linux-image-extra-3.13.0-37-generic (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of linux-image-generic: linux-image-generic depends on linux-image-3.13.0-37-generic; however: Package linux-image-3.13.0-37-generic is not configured yet. linux-image-generic depends on linux-image-extra-3.13.0-37-generic; however: Package linux-image-extra-3.13.0-37-generic is not configured yet. dpkg: error processing package linux-image-generic (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-image-generic (= 3.13.0.37.44); however: Package linux-image-generic is not configured yet. dpkg: error processing package linux-generic (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of linux: linux depends on linux-generic; however: Package linux-generic is not configured yet. dpkg: error processing package linux (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already E: Sub-process /usr/bin/dpkg returned an error code (1) 

Источник

Оцените статью
Adblock
detector