我的 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
Run Code Online (Sandbox Code Playgroud)
我尝试下载并安装新密钥,但没有解决问题。有什么线索吗?
尝试这个 :
gpg --keyserver pgpkeys.mit.edu --recv-key 9AA38DCD55BE302B
gpg -a --export 9AA38DCD55BE302B | sudo apt-key add -
Run Code Online (Sandbox Code Playgroud)
这是最近的 Debian 系统,以避免资源损坏
归档时间: |
|
查看次数: |
1430 次 |
最近记录: |