注册 登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

随机过程

http://superware.blog.163.com

 
 
 

日志

 
 

apt-get: NO_PUBKEY / GPG error  

2011-07-29 20:41:00|  分类: Linux |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
By Tim Quax on 12 july 2010
When updating a Debian based system (such as Ubuntu), it may happen that apt-get will display an error message about public keys or GPG. This is a new feature of apt-get that will guarantee the authenticity of the apt servers. Those errors generally look like this:

W: GPG error: ftp://ftp.debian.org/ testing Release: 
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B

W: There is no public key available for the following key IDs:
9AA38DCD55BE302B


This is easily fixable, despite what you may find on the rest of the internet. It's caused by a faulty public key; it's probably just outdated.

Fix it by entering these two commands, remember to replace the keys below (9AA38DCD55BE302B) with the key in your system's error message.
 # gpg --keyserver pgpkeys.mit.edu --recv-key 9AA38DCD55BE302B  
# gpg -a --export 9AA38DCD55BE302B | sudo apt-key add -
  评论这张
 
阅读(32)| 评论(0)
推荐

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018