ubuntu 下 PUBKEY 报错“public key is not available”
2016-10-09 15:05
549 查看
今天在安装opencv时出现了一个问题,sudo apt update时报错:
W: GPG error: http://security.ubuntu.com trusty-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
网上给了很多解决方法,最有效的就是:sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
其实这个方法是对的,但是我试了以后报错:
gpg: requesting key F7AA50B3 from hkp server keyserver.ubuntu.com
gpgkeys: key 0429ACCAF7AA50B3 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
花了很大功夫,发现问题其实很简单。
把上面的办法稍微改一点就行了:sudo -E apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
后面在执行 sudo apt update 就不会报错了。
W: GPG error: http://security.ubuntu.com trusty-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
网上给了很多解决方法,最有效的就是:sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
其实这个方法是对的,但是我试了以后报错:
gpg: requesting key F7AA50B3 from hkp server keyserver.ubuntu.com
gpgkeys: key 0429ACCAF7AA50B3 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
花了很大功夫,发现问题其实很简单。
把上面的办法稍微改一点就行了:sudo -E apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
后面在执行 sudo apt update 就不会报错了。
相关文章推荐
- The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010
- Ubuntu public key is not available的错误
- Ubuntu 解决 public key is not available 问题
- ubuntu14.04 报错 The following signatures couldn't be verified because the public key is not available
- Ubuntu public key is not available的错误
- apt-get couldn't be verified because the public key is not available: NO_PUBKEY XXX
- The following signatures couldn't be verified because the public key is not available
- The following signatures couldn't be verified because the public key is not available
- GPG error: the public key is not available
- apt-get update时出现“public key is not available”错误
- The following signatures couldn't be verified because the public key is not available
- 解决Public key for libXi......rpm is not installed.
- Public key for *.rpm is not installed
- [YUM]Public key for *.rpm is not installed
- yum 安装报 关于Public key for *.rpm is not installed 的解决方法
- Your Ubuntu 12.04 is running in 2D mode,Many features will not be available.(on Ubuntu 12.04)解决方法
- Public key for *.rpm is not installed解决办法
- yum 安装报 关于Public key for *.rpm is not installed 的解决方法
- [YUM]Public key for *.rpm is not installed
- Public key for *.rpm is not installed