2024-05-21, 06:08 PM
(This post was last modified: 2024-05-21, 06:35 PM by Huecuva. Edited 1 time in total.)
Well, whenever I feel ambitious enough to try setting everything up again from scratch to upgrade to Debian 12, maybe I will try a container instead. Until then, a VM works just fine for me.
How do I go about installing a specific driver? As I mentioned, the 525 driver installs by default when I install the nvidia-driver package.
Also, I neglected to post the results of vainfo. That command does not appear to exist on my server.
I just tried purging and reinstalling the nvidia driver again and for some reason this time it appears to have installed the 470 driver. However, it says that dependency problems prevent configuration of the nvidia-driver package. When I attempt to sudo apt --fix-broken install it is unable to fix them:
Maybe it would be easier to simply reinstall the OS (and upgrade to Debian 12) and set my server back up from scratch?
How do I go about installing a specific driver? As I mentioned, the 525 driver installs by default when I install the nvidia-driver package.
Also, I neglected to post the results of vainfo. That command does not appear to exist on my server.
I just tried purging and reinstalling the nvidia driver again and for some reason this time it appears to have installed the 470 driver. However, it says that dependency problems prevent configuration of the nvidia-driver package. When I attempt to sudo apt --fix-broken install it is unable to fix them:
Code:
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nvidia-kernel-dkms (470.223.02-1) ...
Removing old nvidia-current-470.223.02 DKMS files...
------------------------------
Deleting module version: 470.223.02
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-470.223.02 DKMS files...
Building for 5.10.0-29-amd64
Building initial module for 5.10.0-29-amd64
Error! Bad return status for module build on kernel: 5.10.0-29-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/470.223.02/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 (= 470.223.02-1) | nvidia-kernel-470.223.02; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-470.223.02 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-470.223.02 is not configured yet.
dpkg: error processing package nvidia-driver (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nvidia-kernel-dkms
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Maybe it would be easier to simply reinstall the OS (and upgrade to Debian 12) and set my server back up from scratch?