Ubuntu 20.04 NVIDIA Driver Update Error

Ubuntu 20.04 NVIDIA Driver Update Error

I am trying to


sudo apt-get update

but I am getting the following error:

W: GPG error: https://repo.download.nvidia.com/baseos/ubuntu/focal/x86_64 focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 208CE844D9F220AD

E: The repository 'https://repo.download.nvidia.com/baseos/ubuntu/focal/x86_64 focal InRelease' is not 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 have tried the following steps to resolve this issue, but none of them have worked:

  • I downloaded and installed the new NVIDIA pubkey using the following command:

sudo apt-key del 7fa2af80


sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 208CE844D9F220AD


wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x84_64/cuda-keyring_1.0-1_all.deb

sudo dpkg -i cuda-keyring_1.0-1_all.deb

sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/3bf863cc.pub

These were my main refereneces to solve the problems. I’ve tried all suggested solutions from the sources. but it doesn’t work.

If the issue is not resolved after taking these steps, what should I do?

I’ll add the full log below


nvidia@dgx-station:~$ sudo apt-get update

Get:1 https://repo.download.nvidia.com/baseos/ubuntu/focal/x86_64 focal InRelease [18.2 kB]

Get:2 https://repo.download.nvidia.com/baseos/ubuntu/focal/x86_64 focal-updates InRelease [18.4 kB]

Hit:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease

Err:1 https://repo.download.nvidia.com/baseos/ubuntu/focal/x86_64 focal InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 208CE844D9F220AD

Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease

Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease

Err:2 https://repo.download.nvidia.com/baseos/ubuntu/focal/x86_64 focal-updates InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 208CE844D9F220AD

Ign:6 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 InRelease

Hit:7 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu focal InRelease

Hit:8 https://download.docker.com/linux/ubuntu bionic InRelease

Hit:9 http://archive.ubuntu.com/ubuntu focal-updates InRelease

Hit:10 https://dl.google.com/linux/chrome/deb stable InRelease

Hit:11 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease

Hit:12 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 Release

Hit:13 https://packages.redis.io/deb focal InRelease

Hit:14 http://archive.ubuntu.com/ubuntu focal-backports InRelease

Hit:15 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease

Reading package lists... Done

W: GPG error: https://repo.download.nvidia.com/baseos/ubuntu/focal/x86_64 focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 208CE844D9F220AD

E: The repository 'https://repo.download.nvidia.com/baseos/ubuntu/focal/x86_64 focal InRelease' is not 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.

W: GPG error: https://repo.download.nvidia.com/baseos/ubuntu/focal/x86_64 focal-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 208CE844D9F220AD

E: The repository 'https://repo.download.nvidia.com/baseos/ubuntu/focal/x86_64 focal-updates InRelease' is not 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.

Looks like you tried to update the key for the cuda repo but what you need is the key for DGX OS 5 repo:
https://docs.nvidia.com/dgx/dgx-os-5-user-guide/upgrading.html#rotating-the-gpg-keys

Thanks a lot! That was my huge mistake.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.