问题描述
尝试在Debian Etch安装上更新一些存储库,并从运行apt-get update获取以下错误
W :GPG错误:http://www.debian-multimedia.org etch发布:以下签名无法验证,因为公钥不可用:NO_PUBKEY 07DC563D1F41B907
W:您可能需要运行apt-get更新以纠正这些问题
它的讽刺指示我运行apt-get更新是一个很好的踢球者...
我发现几个帖子告诉我运行几个gpg命令,但是他们没有解决问题,因为两件事情。首先,我在系统中丢失了debian-keyring包,其次我使用了无效的密钥服务器。尝试不同的密钥服务器,如果你超时了!
因此,我修复的方式是:
apt-get install debian-keyring
gpg --keyserver pgp.mit.edu --recv-keys 1F41B907
gpg --armor --export 1F41B907 | apt-key add -
然后运行一个新的apt-get更新完美无瑕! >
Trying to update some repositories on Debian Etch installation and getting the following errors from running "apt-get update"
W: GPG error: http://www.debian-multimedia.org etch Release: The following signatures couldn't be verified because teh public key is not available: NO_PUBKEY 07DC563D1F41B907
W: You may want to run apt-get update to correct these problems
The irony of it instructing me to run apt-get update is a nice kicker...
I found several posts telling me to run several gpg commands, but they didn't solve the problem because of two things. First, I was missing the debian-keyring package on my system and second I was using an invalid keyserver. Try different keyservers if you're getting timeouts!
Thus, the way I fixed it was:
apt-get install debian-keyring
gpg --keyserver pgp.mit.edu --recv-keys 1F41B907
gpg --armor --export 1F41B907 | apt-key add -
Then running a new "apt-get update" worked flawlessly!
这篇关于如何信任apt存储库:Debian apt-get更新错误公钥不可用:NO_PUBKEY< id>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!