NO_PUBKEY issue

Hi, one month ago I upgrade my CUDA version because of some package dependencies, now I want to update pc this error raises in terminal, I have searched many issues related to mine but any solution could solve my error.

GPG error: file:/var/cudnn-local-repo-ubuntu1804-8.6.0.163 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B695BAFC77B32ECB

Please see this:
https://developer.nvidia.com/blog/updating-the-cuda-linux-gpg-repository-key/

I have already tried it but nothing changed.

Ok, please try this then:
https://docs.nvidia.com/deeplearning/cudnn/installation/linux.html#ubuntu-debian-local-installation

There is not any info about ubuntu 18.04 version for x86_64

Import the CUDA GPG key.

    sudo cp /var/cudnn-local-*/cudnn-*-keyring.gpg /usr/share/keyrings/

Refresh the repository metadata.

    sudo apt-get update

doesn’t work?

1 Like

Strange, I triied it before same error raised now I tried again it seems solved my problem, thanks!

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