I've never seen this type of error before and have no idea what to do next. Any help will be greatly appreciated!
Code:
Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.2 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n] ySetting up nvidia-kernel-dkms (525.147.05-7~deb12u1) ...Removing old nvidia-current-525.147.05 DKMS files...Deleting module nvidia-current-525.147.05 completely from the DKMS tree.Loading new nvidia-current-525.147.05 DKMS files...readelf: Error: Not an ELF file - it has the wrong magic bytes at the startreadelf: Error: Not an ELF file - it has the wrong magic bytes at the startBuilding for 6.1.0-13-amd64Building initial module for 6.1.0-13-amd64readelf: Error: Not an ELF file - it has the wrong magic bytes at the startreadelf: Error: Not an ELF file - it has the wrong magic bytes at the startError! Bad return status for module build on kernel: 6.1.0-13-amd64 (x86_64)Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.dpkg: error processing package nvidia-kernel-dkms (--configure): installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10dpkg: dependency problems prevent configuration of nvidia-driver: nvidia-driver depends on nvidia-kernel-dkms (= 525.147.05-7~deb12u1) | nvidia-kernel-525.147.05 | nvidia-open-kernel-525.147.05 | nvidia-open-kernel-525.147.05; however: Package nvidia-kernel-dkms is not configured yet. Package nvidia-kernel-525.147.05 is not installed. Package nvidia-kernel-dkms which provides nvidia-kernel-525.147.05 is not configured yet. Package nvidia-open-kernel-525.147.05 is not installed. Package nvidia-open-kernel-525.147.05 is not installed.dpkg: error processing package nvidia-driver (--configure): dependency problems - leaving unconfiguredErrors were encountered while processing: nvidia-kernel-dkms nvidia-driverConfig is in use.E: Sub-process /usr/bin/dpkg returned an error code (1)
Statistics: Posted by cogitech — 2024-02-24 18:27 — Replies 7 — Views 131