I am trying to follow the guide to use Virtual GL to pass through a GPU and use it on a single monitor.
I created a new template based on Debian-12-xfce and am trying to install the NVIDIA drivers into it.
I am getting the following errors:
$ sudo apt install nvidia-driver nvidia-kernel-open-dkms cuda nvidia-smi nvidia-settings
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
nvidia-driver is already the newest version (545.23.08-1).
cuda is already the newest version (12.3.1-1).
nvidia-smi is already the newest version (545.23.08-1).
nvidia-settings is already the newest version (545.23.08-1).
The following packages will be REMOVED:
nvidia-kernel-dkms
The following NEW packages will be installed:
nvidia-kernel-open-dkms
0 upgraded, 1 newly installed, 1 to remove and 91 not upgraded.
Need to get 4,630 kB of archives.
After this operation, 52.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
Ign:1 Index of /compute/cuda/repos/debian12/x86_64 nvidia-kernel-open-dkms 545.23.08-1
Ign:1 Index of /compute/cuda/repos/debian12/x86_64 nvidia-kernel-open-dkms 545.23.08-1
Ign:1 Index of /compute/cuda/repos/debian12/x86_64 nvidia-kernel-open-dkms 545.23.08-1
Err:1 Index of /compute/cuda/repos/debian12/x86_64 nvidia-kernel-open-dkms 545.23.08-1
Invalid response from proxy: HTTP/1.0 500 Unable to connect Server: tinyproxy/1.10.0 Content-Type: text/html Connection: close [IP: 127.0.0.1 8082]
E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/./nvidia-kernel-open-dkms_545.23.08-1_amd64.deb Invalid response from proxy: HTTP/1.0 500 Unable to connect Server: tinyproxy/1.10.0 Content-Type: text/html Connection: close [IP: 127.0.0.1 8082]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I get this error when I set sys-net for the update, sys-firewall for the update, sys-whonix for the update, and sys-vpn for the update.
I have also tried sudo apt update in the template and get nothing with the same sort of errors.
I connected the template to VPN to download the NVIDIA key through curl. I know I should have done this in another temporary VM and copied it, but I don’t have time and may end up deleting this template anyway. It is mostly for testing.
What am I doing wrong?