Debian Lenny 中的 GPG 错误

Debian Lenny 中的 GPG 错误

aptitude update命令后我收到错误:

Err http://archive.debian.org lenny/non-fre Packages                                                                            
  404 Not Found [IP: 209.87.16.41 80]
Fetched 194kB in 6s (31.3kB/s)                                                                                                  
W: GPG error: http://archive.debian.org lenny Release: The following signatures were invalid: KEYEXPIRED 1520281423 KEYEXPIRED 1337087218
W: GPG error: http://archive.debian.org lenny/updates Release: The following signatures were invalid: KEYEXPIRED 1356982504
W: Failed to fetch http://archive.debian.org/debian-archive/debian/dists/lenny/non-fre/binary-i386/Packages  404 Not Found [IP: 209.87.16.41 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.

这是什么意思以及如何解决这个问题?

内容/etc/apt/sources.list

deb http://archive.debian.org/debian-archive/debian/ lenny main contrib non-fre
deb http://archive.debian.org/debian-security/ lenny/updates main contrib non-
free

答案1

这行末尾有一个错字:

deb http://archive.debian.org/debian-archive/debian/ lenny main contrib non-fre

添加缺少的 e 以non-free修复404 Not foundFailed to fetch...错误。

这些GPG error消息表明 Lenny 的软件包分发密钥已过期。由于这是一个存档发行版,因此这是预期的。但看起来它已经被视为只是一个警告。但这个错误报告有一些您可以使用的选项。

相关内容