Re: Erreur suite à un apt upgrade
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.........................
On Monday 05 February 2024 18:27:16 Sébastien NOBILI wrote:
> Le 2024-02-05 18:22, ajh-valmer a écrit :
> > C'est grave Docteur ? :
> >
> > Setting up openjdk-17-jre:amd64 (17.0.10+7-1~deb12u1) ...
> > Errors were encountered while processing:
> > linux-image-6.1.0-18-amd64
> > linux-image-amd64
> > linux-headers-6.1.0-18-amd64
> > linux-headers-amd64
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Ça c'est la synthèse finale. Elle n'apprend pas grand-chose de plus que
> ça ne s'est pas bien passé pour les paquets linux-*.
>
> Tu dois avoir des messages plus intéressants plus haut.
>
> Sinon, tu peux aussi relancer ta mise à jour et les messages devraient
> apparaître de nouveau.
>
> En tout cas, avec un noyau mal installé, j'attendrais d'avoir réglé le
> problème avant de redémarrer le système (même si tu dois avoir la
> version
> n-1 du noyau qui reste disponible et fonctionnelle).
>
> Sébastien
>
>
Reply to: