我是靠谱客的博主 眼睛大书本,这篇文章主要介绍apt-get update出现NO_PUBKEY错误怎么办?,现在分享给大家,希望可以做个参考。

今天在安装软件前前进行apt-get update进行apt库的升级,时出现了以下错误:

W: GPG error: http://debian.cn99.com etch Release: The following signatures coul                                              dn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE                                              302B
W: GPG error: http://security.debian.org etch/updates Release: The following sig                                              natures couldn't be verified because the public key is not available: NO_PUBKEY                                               9AA38DCD55BE302B
W: You may want to run apt-get update to correct these problems

 

上网找到的解决方法:

 

首先获得key:
#gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE
然后:
#gpg --armor --export F1D53D8C4F368D5D | apt-key add -

 

#apt-get update

 

后一切正常。

最后

以上就是眼睛大书本最近收集整理的关于apt-get update出现NO_PUBKEY错误怎么办?的全部内容,更多相关apt-get内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(106)

评论列表共有 0 条评论

立即
投稿
返回
顶部