尝试更新 Debian Etch 安装上的一些存储库,并在运行“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
具有讽刺意味的是,它指示我运行 apt-get update 是一个很好的踢球......
最佳答案
我发现几个帖子告诉我运行几个 gpg 命令,但由于两件事他们没有解决问题。首先,我的系统上缺少 debian-keyring 软件包,其次我使用了无效的 key 服务器。如果超时,请尝试不同的 key 服务器!
因此,我解决这个问题的方法是:
apt-get install debian-keyring
gpg --keyserver pgp.mit.edu --recv-keys 1F41B907
gpg --armor --export 1F41B907 | apt-key add -
然后运行一个新的“apt-get update”就可以完美地工作了!
关于repository - 如何信任 apt 存储库 : Debian apt-get update error public key is not available: NO_PUBKEY <id>,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1139127/