apt-get: NO_PUBKEY / GPG error
2015-11-12 11:53
357 查看
When updating a Debian based system (such as Ubuntu), it may happenthat apt-get will display an error message about public keys orGPG. This is a new feature of apt-get that will guarantee theauthenticity of the apt servers. Those errors generally look likethis:
W: GPG error: ftp://ftp.debian.org/ testingRelease:
The following signatures couldn't be verified because the publickey is not available: NO_PUBKEY 9AA38DCD55BE302B
W: There is no public key available for the following keyIDs:
9AA38DCD55BE302B
This is easily fixable, despite what you may find on the rest ofthe internet. It's caused by a faulty public key; it's probablyjust outdated.
Fix it by entering these two commands, remember to replace the keysbelow (9AA38DCD55BE302B) with the key in your system's errormessage.
W: GPG error: ftp://ftp.debian.org/ testingRelease:
The following signatures couldn't be verified because the publickey is not available: NO_PUBKEY 9AA38DCD55BE302B
W: There is no public key available for the following keyIDs:
9AA38DCD55BE302B
This is easily fixable, despite what you may find on the rest ofthe internet. It's caused by a faulty public key; it's probablyjust outdated.
Fix it by entering these two commands, remember to replace the keysbelow (9AA38DCD55BE302B) with the key in your system's errormessage.
# gpg --keyserver pgpkeys.mit.edu --recv-key 9AA38DCD55BE302B # gpg -a --export 9AA38DCD55BE302B | sudo apt-key add -
相关文章推荐
- 定时器管理与函数封装
- CVS
- Zabbix 监控windows服务器监控闪断zabbix_get [12577]: Timeout while executing operatio
- Android 实用工具Hierarchy Viewer实战
- Android三种网络通讯方式及Android的网络通讯机制
- 网上销售平台--pom.xm文件
- 遇到 java.lang.OutOfMemoryError: PermGen space配多少合适我的内存为4G在哪配置Jboss的run.bat还是。。
- phalconphp nginx 配置
- Appium-测试失败后获取屏幕截图的方法
- javaScript细节之生成不重复的随机数
- JAVA面试题大全
- 禁止后退键backspace
- UINavigation设置背景颜色后 界面适配的问题
- python protobuf序列化repeated运用
- WindowsService 安装后报错: 无法启动计算机“.”上的服务 解决方案
- ASP.NET MVC 网站优化总结 使用 Gzip 压缩
- hdu5527Too Rich
- Akka Helloworld
- Java中普通代码块,构造代码块,静态代码块区别及代码示例
- 为UIWebView实现离线浏览