Dpkg error processing linux headers generic

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 

Источник

Читайте также:  Экзамен red hat linux

Ubuntu linux-headers-generic and lot of dependencies error [closed]

This question was closed because the problem as described can’t be reproduced. It is not currently accepting answers.

This describes a problem that can’t be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It’s off-topic as it’s unlikely to help future readers.

Reading package lists. Done Building dependency tree Reading state information. Done Calculating upgrade. Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 10 not fully installed or removed. Need to get 0 B/11.0 MB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y dpkg: error processing package libcurl3-gnutls:amd64 (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: error processing package linux-image-generic (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: error processing package linux-headers-4.4.0-34 (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of linux-headers-4.4.0-34-generic: linux-headers-4.4.0-34-generic depends on linux-headers-4.4.0-34; however: Package linux-headers-4.4.0-34 is not configured yet. dpkg: error processing package linux-headers-4.4.0-34-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-headers-generic: linux-headers-generic depends on linux-headers-4.4.0-34-generic; however: Package linux-headers-4.4.0-34-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-image-generic (= 4.4.0.34.36); however: Package linux-image-generic is not configured yet. linux-generic depends on linux-headers-generic (= 4.4.0.34.36); however: Package linux-headers-generic is not configured yet. dpkg: error processingNo apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already package linux-generic (--configure): dependency problems - leaving unconfigured dpkg: error processing package linux-libc-dev:amd64 (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: error processing package linux-signed-image-4.4.0-34-generic (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: dependency problems prevent configuration of linux-signed-image-generic: linux-signed-image-generic depends on linux-signed-image-4.4.0-34-generic; however: Package linux-signed-image-4.4.0-34-generic is not configured yet. dpkg: error processing package linux-signed-image-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-signed-generic: linux-signed-generic depends on linux-signed-image-generic (= 4.4.0.34.36); however: Package linux-signed-image-generic is not configured yet. linux-signed-generic depends on linux-headers-generic (= 4.4.0.34.36); however: Package linux-headers-generic is not configured yet. dpkg: error processing package linux-signed-generic (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: libcurl3-gnutls:amd64 linux-image-generic linux-headers-4.4.0-34 linux-headers-4.4.0-34-generic linux-headers-generic linux-generic linux-libc-dev:amd64 linux-signed-image-4.4.0-34-generic linux-signed-image-generic linux-signed-generic E: Sub-process /usr/bin/dpkg returned an error code (1) 

Even if I try to reinstall the suggested packages I get the same error. Some thing is really messed up. Can you please look into this? While I was fixing this I also got the error: E: The package linux-headers-generic needs to be reinstalled, but I can’t find an archive for it. And earlier today it was asking for root password, but I never configured one. Ubuntu asking root password sources.list sources.list.d

Читайте также:  Hp m725 драйвер linux

Источник

Thread: dpkg: error processing linux-headers-generic-pae (—configure)

zgur is offlineFirst Cup of Ubuntu

Questiondpkg: error processing linux-headers-generic-pae (—configure)

Hey,
I need some help and I am an absolute beginner in this. My computer can not find any wireless connections, it suddenly stopped working. At the same time (I dont know if its related) I noticed that the space was full on my computer (partitioned into 4), I cleaned it now but I cant delete any programs because I have to repaire something first (I dont understand what it is but it say so everytime I try). But, I cant repaire this thing because I get this:

installArchives() failed: (Reading database . (Reading database . 5% (Reading database . 10% (Reading database . 15% (Reading database . 20% (Reading database . 25% (Reading database . 30% (Reading database . 35% (Reading database . 40% (Reading database . 45% (Reading database . 50% (Reading database . 55% (Reading database . 60% (Reading database . 65% (Reading database . 70% (Reading database . 75% (Reading database . 80% (Reading database . 85% (Reading database . 90% (Reading database . 95% (Reading database . 100% (Reading database . 621428 files and directories currently installed.)
Unpacking linux-headers-3.5.0-40 (from . /linux-headers-3.5.0-40_3.5.0-40.62_all.deb) .
dpkg: error processing /var/cache/apt/archives/linux-headers-3.5.0-40_3.5.0-40.62_all.deb (—unpack):
unable to create `/usr/src/linux-headers-3.5.0-40/arch/m32r/include/asm/sections.h.dpkg-new’ (while processing `./usr/src/linux-headers-3.5.0-40/arch/m32r/include/asm/sections.h’): No space left on device
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Unpacking linux-headers-3.5.0-40-generic (from . /linux-headers-3.5.0-40-generic_3.5.0-40.62_i386.deb) .
dpkg: error processing /var/cache/apt/archives/linux-headers-3.5.0-40-generic_3.5.0-40.62_i386.deb (—unpack):
unable to create `/usr/src/linux-headers-3.5.0-40-generic/include/config/usb/r8a66597.h.dpkg-new’ (while processing `./usr/src/linux-headers-3.5.0-40-generic/include/config/usb/r8a66597.h’): No space left on device
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.5.0-40_3.5.0-40.62_all.deb
/var/cache/apt/archives/linux-headers-3.5.0-40-generic_3.5.0-40.62_i386.deb
Error in function:
dpkg: dependency problems prevent configuration of linux-headers-generic:
linux-headers-generic depends on linux-headers-3.5.0-40-generic; however:
Package linux-headers-3.5.0-40-generic is not installed.

Читайте также:  Установка php linux ubuntu

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

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

dpkg: error processing linux-generic (—configure):
dependency problems — leaving unconfigured

Do anyone know what this mean? and how I solve it?

Impavidus is offlineUbuntu addict and loving it

Join Date Aug 2011 Location 51.8� N 5.8� E Beans 6,758 —> Beans 6,758 Distro Xubuntu 22.04 Jammy Jellyfish

Re: dpkg: error processing linux-headers-generic-pae (—configure)

It appears that the partition with /usr/src is full. Best to find out why. See here for the way to troubleshoot this. Report back when you can’t solve your problem with the information given there and show us the results from the commands given there (the problem is probably point 6a, 6d or 6f). Better to ask than to guess and cause even more trouble.

Post any output in code tags. This is better readable.

When we’ve solved the disk space problem we can target the wifi problem.

Источник

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