Package: nvidia-driver
Version: 535.216.03-2

I was doing an `apt upgrade` of linux-image from 6.12.13 to 6.12.16
and it failed. No nvidia package was updated (but some mesa packages
were).



Setting up linux-image-6.12.16-amd64 (6.12.16-1) ...
/etc/kernel/postinst.d/dkms:
Sign command: /lib/modules/6.12.16-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Autoinstall of module nvidia-current/535.216.03 for kernel
6.12.16-amd64 (x86_64)
Cleaning build area... done.
Building module(s)........................(bad exit status: 2)
Failed command:
env NV_VERBOSE=1 make -j12 modules KERNEL_UNAME=6.12.16-amd64

Error! Bad return status for module build on kernel: 6.12.16-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/535.216.03/build/make.log for
more information.

Autoinstall on 6.12.16-amd64 failed for module(s) nvidia-current(10).

Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: error processing package linux-image-6.12.16-amd64 (--configure):
installed linux-image-6.12.16-amd64 package post-installation script
subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-6.12.16-amd64:
linux-headers-6.12.16-amd64 depends on linux-image-6.12.16-amd64 (=
6.12.16-1) | linux-image-6.12.16-amd64-unsigned (= 6.12.16-1);
however:
 Package linux-image-6.12.16-amd64 is not configured yet.
 Package linux-image-6.12.16-amd64-unsigned is not installed.

dpkg: error processing package linux-headers-6.12.16-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-amd64:
linux-headers-amd64 depends on linux-headers-6.12.16-amd64 (=
6.12.16-1); however:
 Package linux-headers-6.12.16-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.12.16-amd64
linux-headers-6.12.16-amd64
linux-headers-amd64



In the `/var/lib/dkms/nvidia-current/535.216.03/build/make.log` there
were messages (at the end) about an unknown command `pahole`. After I
installed it (`apt install pahole`), it compiled correctly (in the
pahole install command, no need for an extra one).
This problem was not on `linux-image-6.12.13-amd64` (or earlier).
I guess there is a missing dependency on the `pahole` as it is used in
the make script. But I was updating nvidia-driver recently (yesterday)
and did not notice any problem.

PS: This is my first bug report to Debian, sorry if it is incorrect.

Reply via email to