Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3395

[O/S] Apt Upgrade shows errors and cannot complete upgrade

$
0
0
Hi again,
Just noticed the following errors while doing apt upgrade today. Happens both in my desktop and my laptop.

Code:

Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.4 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n] Setting up linux-image-6.1.0-18-amd64 (6.1.76-1) .../etc/kernel/postinst.d/dkms:dkms: running auto installation service for kernel 6.1.0-18-amd64.Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-fileSigning key: /var/lib/dkms/mok.keyPublic certificate (MOK): /var/lib/dkms/mok.pubBuilding module:Cleaning build area...env NV_VERBOSE=1 make -j24 modules KERNEL_UNAME=6.1.0-18-amd64........(bad exit status: 2)Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.Error! One or more modules failed to install during autoinstall.Refer to previous errors for more information.dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!run-parts: /etc/kernel/postinst.d/dkms exited with return code 11dpkg: error processing package linux-image-6.1.0-18-amd64 (--configure): installed linux-image-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1Setting up linux-headers-6.1.0-18-amd64 (6.1.76-1) .../etc/kernel/header_postinst.d/dkms:dkms: running auto installation service for kernel 6.1.0-18-amd64.Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-fileSigning key: /var/lib/dkms/mok.keyPublic certificate (MOK): /var/lib/dkms/mok.pubBuilding module:Cleaning build area...env NV_VERBOSE=1 make -j24 modules KERNEL_UNAME=6.1.0-18-amd64........(bad exit status: 2)Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.Error! One or more modules failed to install during autoinstall.Refer to previous errors for more information.dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.1.0-18-amd64.postinst line 11.dpkg: error processing package linux-headers-6.1.0-18-amd64 (--configure): installed linux-headers-6.1.0-18-amd64 package post-installation script subprocess returned error exit status 1dpkg: dependency problems prevent configuration of linux-image-amd64: linux-image-amd64 depends on linux-image-6.1.0-18-amd64 (= 6.1.76-1); however:  Package linux-image-6.1.0-18-amd64 is not configured yet.dpkg: error processing package linux-image-amd64 (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of linux-headers-amd64: linux-headers-amd64 depends on linux-headers-6.1.0-18-amd64 (= 6.1.76-1); however:  Package linux-headers-6.1.0-18-amd64 is not configured yet.dpkg: error processing package linux-headers-amd64 (--configure): dependency problems - leaving unconfiguredErrors were encountered while processing: linux-image-6.1.0-18-amd64 linux-headers-6.1.0-18-amd64 linux-image-amd64 linux-headers-amd64E: Sub-process /usr/bin/dpkg returned an error code (1)
DKMS status of my desktop is

Code:

nvidia-current/525.147.05, 6.1.0-17-amd64, x86_64: installedxone/v0.3-25-gd93b4d5, 6.1.0-17-amd64, x86_64: installedxone/v0.3-25-gd93b4d5, 6.1.0-18-amd64, x86_64: installed
and laptop:

Code:

nvidia-current/525.147.05, 6.1.0-17-amd64, x86_64: installed
I have tried sudo dpkg --configure -a but gives the same errors.

Thank you for any help.

Statistics: Posted by M22 — 2024-02-13 05:42 — Replies 1 — Views 19



Viewing all articles
Browse latest Browse all 3395

Trending Articles