Voici plus d'infos :
env NV_VERBOSE=1 make -j4 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-tesla-470/470.223.02/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 11
dpkg: 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 1
Setting 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-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
applying patch cc_version_check-gcc5.patch...patching file conftest.sh
applying patch bashisms.patch...patching file conftest.sh
applying patch linux-2.6.34-dev_pm_info-runtime_auto.patch...patching file
conftest.sh
applying patch
0033-refuse-to-load-legacy-module-if-IBT-is-enabled.patch...patching file
nvidia-modeset/nvidia-modeset-linux.c
patching file nvidia/nv.c
applying patch ppc64el.patch...patching file nvidia/nvlink_common.h
applying patch fragile-ARCH.patch...patching file Makefile
applying patch use-kbuild-compiler.patch...patching file Makefile
patching file Kbuild
applying patch use-kbuild-flags.patch...patching file Kbuild
patching file nvidia/nvidia.Kbuild
patching file Makefile
patching file nvidia-modeset/nvidia-modeset.Kbuild
applying patch conftest-verbose.patch...patching file Kbuild
applying patch conftest-prefer-arch-headers.patch...patching file conftest.sh
Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j4 modules
KERNEL_UNAME=6.1.0-18-amd64.........................