ich habe, wieder einmal, Probleme mit dem Nvidia-Treiber und wie es scheint mit den Paket-Abhängigkeiten.
Ich fange mal vorne an, meine /etc/apt/sources.list:
deb http://deb.debian.org/debian/ testing upstream main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ testing main contrib non-free non-free-firmware
deb http://deb.debian.org/debian/ testing-updates main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ testing-updates main contrib non-free non-free-firmware
deb http://deb.debian.org/debian-security testing-security main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian-security testing-security main contrib non-free non-free-firmware
Ich habe versucht den aktuellen Kernel zu installieren, aber, er kann die Module wieder nicht bauen
Code: Alles auswählen
# apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
appstream dalvik-exchange dctrl-tools dh-dkms firmware-nvidia-gsp freeglut3 g++-12 gcc-12-base:i386 gdisk gir1.2-gtksource-4 gir1.2-wnck-3.0 gkbd-capplet libamd2
libamtk-5-0 libamtk-5-common libandroid-23-java libaribb25-0 libavformat58 libavif15 libavif15:i386 libbasicusageenvironment1 libblockdev-crypto2 libblockdev-fs2
libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libboost-filesystem1.74.0 libboost-iostreams1.74.0
libboost-locale1.74.0 libboost-thread1.74.0 libboost1.74-dev libbpf0 libcamd2 libcbor0.8 libccolamd2 libcddb2 libcholmod3 libcholmod4 libclang-14-dev
libcodec2-1.1 libcolamd2 libcrypt1:i386 libdca0 libdvbpsi10 libegl-mesa0:i386 libegl1:i386 libelf-dev libevdi0 libevdi1 libfaad2 libffms2-5 libflac8:i386
libgcab-1.0-0 libgles1 libgles1:i386 libgles2:i386 libgnomekbd-common libgnomekbd8 libgroupsock30 libgs9-common libgssdp-1.2-0 libgumbo1 libgupnp-1.2-1
libgupnp-igd-1.0-4 libhttp-cookiejar-perl libicu71 libicu71:i386 libixml11 libjim0.81 libkf5activitiesstats1 libkf5idletime5 liblc3-0 liblirc-client0
liblivemedia107 libllvm14:i386 libllvm15:i386 liblua5.2-0 libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libmetis5
libmozilla-publicsuffix-perl libmpdec3 libmujs2 libmutter-10-0 libnfs13 libnvidia-allocator1 libnvidia-allocator1:i386 libnvidia-egl-gbm1 libnvidia-egl-gbm1:i386
libnvidia-egl-wayland1 libnvidia-eglcore libnvidia-eglcore:i386 libnvidia-glcore:i386 libnvidia-ptxjitcompiler1 libnvidia-ptxjitcompiler1:i386 libobjc-12-dev
libopenal1:i386 libopengl0:i386 liborcus-0.17-0 liborcus-parser-0.17-0 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libperl5.34 libphonon4qt5-data
libplacebo208 libplacebo292 libpoppler123 libpostproc55 libprocps8 libprotobuf-lite23 libprotobuf-lite32 libprotobuf23 libproxy-tools libpython3.10
libpython3.10-minimal libpython3.10-stdlib libquazip5-1 libraw20 libresid-builder0c2a librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2
librygel-server-2.6-2 libsane libsidplay2 libsixel1 libsmbios-c2 libsnapd-glib1 libsndio7.0:i386 libstdc++-12-dev libsuitesparseconfig5 libswscale5 libtiff5:i386
libumfpack5 libunistring2:i386 libupnp17 libusageenvironment3 libuuid1:i386 libva-wayland2 libvkd3d-shader1:i386 libvkd3d1:i386 libvlc-bin libvlc5 libvlccore9
libvorbisidec1 libxvmc1 libykpers-1-1 libyubikey-udev libyubikey0 libzstd-dev libzxing2 linux-compiler-gcc-11-x86 linux-compiler-gcc-8-x86
linux-compiler-gcc-9-x86 linux-config-5.19 linux-config-6.0 linux-config-6.1 linux-kbuild-5.19 linux-kbuild-5.2 linux-kbuild-5.3 linux-kbuild-6.0
linux-kbuild-6.1 linux-source-5.19 lua-lpeg packagekit packagekit-tools perl-modules-5.34 python3-renderpm python3-reportlab-accel python3.10 python3.10-minimal
rsync ruby3.0 viagee vkd3d-compiler:i386 vlc-bin vlc-data vlc-l10n vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
vlc-plugin-video-splitter vlc-plugin-visualization xfce4-datetime-plugin
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-headers-6.3.0-1-amd64 (6.3.7-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.3.0-1-amd64.
Sign command: /usr/lib/linux-kbuild-6.3/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.3.0-1-amd64 all INCLUDEDIR=/lib/modules/6.3.0-1-amd64/build/include KVERSION=6.3.0-1-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
dkms autoinstall on 6.3.0-1-amd64/x86_64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.3.0-1-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.3.0-1-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.3.0-1-amd64 (--configure):
installed linux-headers-6.3.0-1-amd64 package post-installation script subprocess returned error exit status 1
Setting up linux-headers-6.5.0-5-amd64 (6.5.13-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.5.0-5-amd64.
Sign command: /lib/modules/6.5.0-5-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.5.0-5-amd64 all INCLUDEDIR=/lib/modules/6.5.0-5-amd64/build/include KVERSION=6.5.0-5-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.0-5-amd64 (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
dkms autoinstall on 6.5.0-5-amd64/x86_64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.5.0-5-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.5.0-5-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.5.0-5-amd64 (--configure):
installed linux-headers-6.5.0-5-amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-headers-6.3.0-1-amd64
linux-headers-6.5.0-5-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Alles auswählen
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/5.2.14/build SRCROOT=/var/lib/dkms/evdi/5.2.14/build CONFIG_MODULE_SIG= -C /lib/modules/6.5.0-5-amd64/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-5-amd64'
/usr/src/linux-headers-6.5.0-5-common/Makefile:149: =============== ERROR ==============
/usr/src/linux-headers-6.5.0-5-common/Makefile:150: 'SUBDIRS' was removed in Linux 5.3
/usr/src/linux-headers-6.5.0-5-common/Makefile:151: Use 'M=' or 'KBUILD_EXTMOD=' instead
/usr/src/linux-headers-6.5.0-5-common/Makefile:152: ====================================
/usr/src/linux-headers-6.5.0-5-common/Makefile:153: *** .. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-5-amd64'
make: *** [Makefile:22: all] Error 2
ich habe versucht nvidia-kernel-dkms zu installieren:
Code: Alles auswählen
# apt-get install nvidia-kernel-dkms:amd64 nvidia-kernel-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nvidia-kernel-dkms is already the newest version (525.147.05-4).
The following packages were automatically installed and are no longer required:
appstream dalvik-exchange dctrl-tools dh-dkms freeglut3 g++-12 gcc-12-base:i386 gdisk gir1.2-gtksource-4 gir1.2-wnck-3.0 gkbd-capplet libamd2 libamtk-5-0
libamtk-5-common libandroid-23-java libaribb25-0 libavformat58 libavif15 libavif15:i386 libbasicusageenvironment1 libblockdev-crypto2 libblockdev-fs2
libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libboost-filesystem1.74.0 libboost-iostreams1.74.0
libboost-locale1.74.0 libboost-thread1.74.0 libboost1.74-dev libbpf0 libcamd2 libcbor0.8 libccolamd2 libcddb2 libcholmod3 libcholmod4 libclang-14-dev
libcodec2-1.1 libcolamd2 libcrypt1:i386 libdca0 libdvbpsi10 libelf-dev libevdi0 libevdi1 libfaad2 libffms2-5 libflac8:i386 libgcab-1.0-0 libgnomekbd-common
libgnomekbd8 libgroupsock30 libgs9-common libgssdp-1.2-0 libgumbo1 libgupnp-1.2-1 libgupnp-igd-1.0-4 libhttp-cookiejar-perl libicu71 libicu71:i386 libixml11
libjim0.81 libkf5activitiesstats1 libkf5idletime5 liblc3-0 liblirc-client0 liblivemedia107 libllvm14:i386 libllvm15:i386 liblua5.2-0 libmagickcore-6.q16-6
libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libmetis5 libmozilla-publicsuffix-perl libmpdec3 libmujs2 libmutter-10-0 libnfs13 libobjc-12-dev
libopenal1:i386 liborcus-0.17-0 liborcus-parser-0.17-0 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libperl5.34 libphonon4qt5-data libplacebo208
libplacebo292 libpoppler123 libpostproc55 libprocps8 libprotobuf-lite23 libprotobuf-lite32 libprotobuf23 libproxy-tools libpython3.10 libpython3.10-minimal
libpython3.10-stdlib libquazip5-1 libraw20 libresid-builder0c2a librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2 libsane
libsidplay2 libsixel1 libsmbios-c2 libsnapd-glib1 libsndio7.0:i386 libstdc++-12-dev libsuitesparseconfig5 libswscale5 libtiff5:i386 libumfpack5
libunistring2:i386 libupnp17 libusageenvironment3 libuuid1:i386 libva-wayland2 libvkd3d-shader1:i386 libvkd3d1:i386 libvlc-bin libvlc5 libvlccore9 libvorbisidec1
libxvmc1 libykpers-1-1 libyubikey-udev libyubikey0 libzstd-dev libzxing2 linux-compiler-gcc-11-x86 linux-compiler-gcc-8-x86 linux-compiler-gcc-9-x86
linux-config-5.19 linux-config-6.0 linux-config-6.1 linux-kbuild-5.19 linux-kbuild-5.2 linux-kbuild-5.3 linux-kbuild-6.0 linux-kbuild-6.1 linux-source-5.19
lua-lpeg packagekit packagekit-tools perl-modules-5.34 python3-renderpm python3-reportlab-accel python3.10 python3.10-minimal rsync ruby3.0 viagee
vkd3d-compiler:i386 vlc-bin vlc-data vlc-l10n vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
vlc-plugin-video-splitter vlc-plugin-visualization xfce4-datetime-plugin
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 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-headers-6.3.0-1-amd64 (6.3.7-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.3.0-1-amd64.
Sign command: /usr/lib/linux-kbuild-6.3/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.3.0-1-amd64 all INCLUDEDIR=/lib/modules/6.3.0-1-amd64/build/include KVERSION=6.3.0-1-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
Sign command: /usr/lib/linux-kbuild-6.3/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j4 modules KERNEL_UNAME=6.3.0-1-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
dkms autoinstall on 6.3.0-1-amd64/x86_64 failed for evdi(10) nvidia-current(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.3.0-1-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.3.0-1-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.3.0-1-amd64 (--configure):
installed linux-headers-6.3.0-1-amd64 package post-installation script subprocess returned error exit status 1
Setting up nvidia-kernel-dkms (525.147.05-4) ...
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...
Building for 6.3.0-1-amd64 6.5.0-5-amd64
Building initial module for 6.3.0-1-amd64
Error! Bad return status for module build on kernel: 6.3.0-1-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 10
Setting up linux-headers-6.5.0-5-amd64 (6.5.13-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.5.0-5-amd64.
Sign command: /lib/modules/6.5.0-5-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.5.0-5-amd64 all INCLUDEDIR=/lib/modules/6.5.0-5-amd64/build/include KVERSION=6.5.0-5-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.0-5-amd64 (x86_64)
Consult /var/lib/dkms/evdi/5.2.14/build/make.log for more information.
Sign command: /lib/modules/6.5.0-5-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j4 modules KERNEL_UNAME=6.5.0-5-amd64....................................................
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-peermem.ko
Cleaning build area...
nvidia-current.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/
nvidia-current-modeset.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/
nvidia-current-drm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/
nvidia-current-uvm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/
nvidia-current-peermem.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.5.0-5-amd64/updates/dkms/
depmod...
dkms autoinstall on 6.5.0-5-amd64/x86_64 succeeded for nvidia-current
dkms autoinstall on 6.5.0-5-amd64/x86_64 failed for evdi(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.5.0-5-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.5.0-5-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.5.0-5-amd64 (--configure):
installed linux-headers-6.5.0-5-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 525.147.05-4) | 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 unconfigured
Errors were encountered while processing:
linux-headers-6.3.0-1-amd64
nvidia-kernel-dkms
linux-headers-6.5.0-5-amd64
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Wie kann ich das wieder gerade biegen, dass das wieder ordentlich läuft?
Für Tipps bin ich dankbar!