ubuntu 下 PUBKEY 报错“public key is not available”
来源:互联网 发布:radius协议认证端口 编辑:程序博客网 时间:2024/06/06 00:10
今天在安装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 就不会报错了。
2 0
- ubuntu 下 PUBKEY 报错“public key is not available”
- 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
- The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010
- apt-get update时出现“public key is not available”错误
- The following signatures couldn't be verified because the 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
- ubuntu add not available key
- ubuntu下使用pip3.6安装模块总是报ssl module in Python is not available的错误
- 修复debian:The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
- 解决GPG error: The following signatures couldn't be verified because the public key is not available
- Public key for *.rpm is not installed
- Public key for *.rpm is not installed
- Public key for *.rpm is not installed
- Public key for *.rpm is not installed
- 欢迎使用CSDN-markdown编辑器
- C++ primer | 第7章 类
- POj 2777(线段树)
- java中字符串与数组之间的转换
- AJAX登入集成CAS的项目获取用户信息
- ubuntu 下 PUBKEY 报错“public key is not available”
- 在Idea中使用Junit4生成测试类
- mTvNewCode.getText()是个SpannableStringBuilder类型不能强转为string,咋办?
- 软件定时器实现源码
- (E)206. Reverse Linked List
- 广告学中的特征工程
- Android_Note(二)——主界面功能
- hdu 1247 Hat’s Words (字典树)
- torch入门笔记12:数据的预处理