我的debian盒子里有个apt的问题。自7月初以来,我一直无法更新包,显然是因为一些密钥过期了。我已经找到了几个试图帮助我的网站,但所提供的解决方案都没有奏效。所以我在这里要求。
当我运行"apt-get update“时,我会得到以下错误:
# apt-get update
Get:1 ftp://85.17.159.15 etch Release.gpg [1032B]
Get:2 http://security.debian.org etch/updates Release.gpg [835B]
Hit ftp://85.17.159.15 etch Release
Hit http://security.debian.org etch/updates Release
Err ftp://85.17.159.15 etch Release
Err http://security.debian.org etch/updates Release
[...]
Fetched 107kB in 0s (407kB/s)
Reading package lists... Done
W: GPG error: ftp://85.17.159.15 etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
W: GPG error: http://security.debian.org etch/updates Release: The following signatures 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我试着下载和安装一个新的密钥,但它并没有解决问题。有什么线索吗?
发布于 2009-09-04 07:57:32
试试这个:
gpg --keyserver pgpkeys.mit.edu --recv-key 9AA38DCD55BE302B
gpg -a --export 9AA38DCD55BE302B | sudo apt-key add -这是最近的Debian系统,以避免源的腐败
https://serverfault.com/questions/62314
复制相似问题