如何信任apt存储库:Debian apt-get更新错误公钥不可用:NO_PUBKEY< id> [英] How to trust a apt repository : Debian apt-get update error public key is not available: NO_PUBKEY <id>

查看:396
本文介绍了如何信任apt存储库:Debian apt-get更新错误公钥不可用:NO_PUBKEY< id>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在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>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆