报错内容:

W: GPG error: https://developer.download.nvidia.cn/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 'https://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.

解决GPG 错误由于没有公钥,无法验证下列签名
解决方法:

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys  A4B469963BF863CC

–recv-keys后面输入自己报错中的NO_PUBKEY的值

更多推荐