NVIDIA / debian-packaging-nvidia-driver

NVIDIA driver packaging for Debian (distro)
GNU General Public License v2.0
3 stars 0 forks source link

Error installing Nvidia driver on Debian 12.5 #2

Open splendidcomputer opened 7 months ago

splendidcomputer commented 7 months ago

Issue Summary: When attempting to install the Nvidia driver (nvidia-driver) on Debian 12.5, I encountered an error preventing successful installation.

Error Message:

Setting up nvidia-persistenced (525.85.05-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nvidia-persistenced.
service → /lib/systemd/system/nvidia-persistenced.service.
Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 145.
Setting up nvidia-egl-icd:amd64 (525.147.05-4~deb12u1) ...
Setting up libnvidia-encode1:amd64 (525.147.05-4~deb12u1) ...
Setting up nvidia-driver-libs:amd64 (525.147.05-4~deb12u1) ...
Processing triggers for nvidia-alternative (525.147.05-4~deb12u1) ...
update-alternatives: updating alternative /usr/lib/nvidia/current because link g
roup nvidia has changed slave links
Setting up nvidia-kernel-dkms (525.147.05-4~deb12u1) ...
Loading new nvidia-current-525.147.05 DKMS files...
Building for 6.1.0-18-amd64
Building initial module for 6.1.0-18-amd64
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more informat
ion.
dpkg: error processing package nvidia-kernel-dkms (--configure):
 installed nvidia-kernel-dkms package post-installation script subprocess return
ed error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 525.147.05-4~deb12u1) | nvidia-k
ernel-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 conf
igured 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
...

System Information:

Steps to Reproduce:

  1. Attempt to install the Nvidia driver on Debian 12.5 using the command sudo apt install nvidia-driver.
  2. Observe the error messages during the installation process.

Expected Behavior: The Nvidia driver should install successfully without encountering errors.

Additional Notes:

oli789 commented 5 months ago

Hello, I have the same problem. Has anyone found the fix?