我收到错误:
GPG error: file:/var/cudnn-local-repo-ubuntu2004-8.8.0.121 InRelease:
The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY 6A4AA528B70907B4
我已经尝试过了解决方案,但我得到的是:gpg: keyserver receive failed: Connection timed out
。
你能告诉我怎样才能删除它Pub-Key
吗?提前谢谢了。
答案1
解决方案是:
$ ls /etc/apt/sources.list.d/
查看产生问题的文件,就/etc/apt/sources.list.d/cudnn-local-ubuntu2004-8.8.0.121.list
我而言是这样。$ sudo rm /etc/apt/sources.list.d/cudnn-local-ubuntu2004-8.8.0.121.list*
$ sudo apt update