首页 > 系统相关 >在ubuntu中运行sudo apt-get update报错The following signatures couldn‘t be verified because the public key

在ubuntu中运行sudo apt-get update报错The following signatures couldn‘t be verified because the public key

时间:2023-03-21 15:33:19浏览次数:46  
标签:signatures verified NO -- sudo apt 报错 A4B469963BF863CC


出现的问题如下图:

在ubuntu中运行sudo apt-get update报错The following signatures couldn‘t be verified because the public key_运维

 报错信息:

Err:5 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  InRelease                                                                                                   
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC

解决办法:

1、把刚刚报错信息里面的 NO_PUBKEY后面的复制下来,我的就是 A4B469963BF863CC

sudo gpg --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC

 运行截图如下:

在ubuntu中运行sudo apt-get update报错The following signatures couldn‘t be verified because the public key_报错信息_02

 2、运行命令,中间的还是上面NO_PUBKEY后面的复制下来即可

sudo gpg --export --armor A4B469963BF863CC | sudo apt-key add -

运行截图如下,可以看到有一个 OK

在ubuntu中运行sudo apt-get update报错The following signatures couldn‘t be verified because the public key_报错信息_03

 3、接着在运行不会报错了

sudo apt-get update

在ubuntu中运行sudo apt-get update报错The following signatures couldn‘t be verified because the public key_ubuntu_04

 

标签:signatures,verified,NO,--,sudo,apt,报错,A4B469963BF863CC
From: https://blog.51cto.com/u_15738297/6140247

相关文章