Running on an x86 machine with Ubuntu 18.04 OS, I’m not managing to install any nvidia-drivers from the apt repo.
When I run sudo apt update I get the following errors:
Err:6 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
Reading package lists... Done
W: GPG error: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I get the exact same errors on 2 different machines. One of these machines was formatted today with a fresh Ubuntu image, and the other is an old machine which already has nvidia-driver-465 installed
I tried adding an alternate PPA repo - sudo add-apt-repository ppa:graphics-drivers.
This enabled me to install nvidia-driver-465, but then I met this old problem, which never got an answer from Nvidia.
I would very much appreciate anyone who could help, by either of the following options:
Direct me to an apt repo which has a real nvidia-driver-465 (which doesn’t redirect to 470)
Tell me how I can update the GPG key
Thanks!
System information:
me@driveu-us:~$ uname -a
Linux driveu-us 5.4.0-91-generic #102~18.04.1-Ubuntu SMP Thu Nov 11 14:46:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
I’m getting the exact same error with apt-get calls as part of a dependency setup for a google colab notebook. Exact same code was working fine the last 3 days, so I’m assuming something happened on the repo side.
Hi @erikwijmans
We are in the process of rotating our GPG public keys, there will be an announcement on the NVIDIA Developer blog very soon. Currently this has rolled out only for our ubuntu1604/x86_64 and fedora32/x86_64 repos, the rest will follow in a bit.
For a more generic solution I borrowed the code snippet from the official guide of nvidia and I got something like that in my Dockerfile using nvidia/cuda:11.6.0-runtime-ubuntu20.04 image: