<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<pre>Package: nvidia-driver
Version: 535.183.01-1~deb12u1
Specifically nvidia-kernel-dkms (535.183.01-1~deb12u1), nvidia-kernel-535.183.01
during linux-image-amd64 (6.10.6-1~bpo12+1) configuring, apt snippet:
```
Building initial module for 6.10.6+bpo-amd64
Error! Bad return status for module build on kernel: 6.10.6+bpo-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/535.183.01/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
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 535.183.01-1~deb12u1) | nvidia-kernel-535.183.01 | nvidia-open-kernel-535.183.01; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-535.183.01 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-535.183.01 is not configured yet.
Package nvidia-open-kernel-535.183.01 is not installed.
dpkg: error processing package nvidia-driver (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-amd64:
linux-headers-amd64 depends on linux-headers-6.10.6+bpo-amd64 (= 6.10.6-1~bpo12+1); however:
Package linux-headers-6.10.6+bpo-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.10.6+bpo-amd64
linux-image-amd64
linux-headers-6.10.6+bpo-amd64
nvidia-kernel-dkms
nvidia-driver
linux-headers-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
culprit make.log snippet:
```
/var/lib/dkms/nvidia-current/535.183.01/build/nvidia/os-mlock.c: In function ‘nv_follow_pfn’:
/var/lib/dkms/nvidia-current/535.183.01/build/nvidia/os-mlock.c:42:12: error: implicit declaration of function ‘follow_pfn’; did you mean ‘follow_pte’? [-Werror=implicit-function-declaration]
42 | return follow_pfn(vma, address, pfn);
| ^~~~~~~~~~
| follow_pte
```
Complete file attached.
</pre>
</body>
</html>