When will the cudnn-local-repo-ubuntu2204-9.0.0 be signed?
Install fails in Ubuntu 22.04 because the signature couldn’t be verified : NO_PUBKEY 1D87D57E960825AE
Hi @juangoog ,
Here are some ways to fix the GPG key error:
- Import the missing GPG key:
Look for the GPG key associated with the repository online. The CUDNN documentation or NVIDIA forums might provide it.
Once you have the key (a long string of characters and numbers), run the following command in your terminal, replacing with the actual key:
sudo apt-key add - <<< ‘’
Run sudo apt-get update again. This should succeed now that the key is available. - Remove the local CUDNN repository:
If you no longer need the local CUDNN repository, you can simply remove it:
sudo rm -rf /var/cudnn-local-repo-ubuntu2004-8.9.7.29
Then run sudo apt-get update again. This will update the package list without using the problematic repository. - Update the repository source:
If you downloaded the repository files from a specific website or source, check if they provide an updated source list with the correct GPG key information. Update your /etc/apt/sources.list file with the new source and run sudo apt-get update again.
Important notes:
Downloading and adding GPG keys from untrusted sources is risky. Only add keys from reliable sources like the official software provider or repository maintainers.
Removing the local CUDNN repository might break installed software that relies on its packages. Do this only if you’re sure you don’t need it anymore.
Always backup your /etc/apt/sources.list file before making any changes.
I hope these suggestions help you resolve the GPG key error
Yes, I found a way to do it that is similar to what you suggest. Thank you ! Juan