Debian 8 Jessie archive.debian.org GPG 自 2022 年 11 月 19 日起出现 KEYEXPIRED 错误(现在怎么办?)

Str*_*eNL 5 apt-get debian-jessie

自 2022 年 11 月 19 日起,Debian 8 上的 apt-get 更新在运行 apt-get 更新时出现以下错误/警告:

W: GPG error: http://archive.debian.org jessie Release: 
The following signatures were invalid: KEYEXPIRED 1587841717
Run Code Online (Sandbox Code Playgroud)

我的 /etc/apt/sources.list 的内容:

deb http://archive.debian.org/debian/ jessie main contrib non-free
deb http://deb.freexian.com/extended-lts jessie-lts main contrib non-free
Run Code Online (Sandbox Code Playgroud)

过期的密钥: apt-key list

/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
pub   4096R/2B90D010 2014-11-21 [expired: 2022-11-19]
uid   Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
pub   4096R/C857C906 2014-11-21 [expired: 2022-11-19]
uid   Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
Run Code Online (Sandbox Code Playgroud)

我安装了 debian-archive-keyring 软件包。

我尝试使用以下方法更新密钥:

gpg --keyserver keyring.debian.org --recv-key 2B90D010
gpg --keyserver keyring.debian.org --recv-key C857C906
Run Code Online (Sandbox Code Playgroud)

但这些密钥在 keyring.debian.org 上似乎不为人所知:

gpg: requesting key 2B90D010 from hkp server keyring.debian.org
gpgkeys: key 2B90D010 can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

gpg: requesting key C857C906 from hkp server keyring.debian.org
gpgkeys: key C857C906 can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0`
Run Code Online (Sandbox Code Playgroud)

所以我想我的问题是:

archive.debian.org 站点上的所有密钥均已过期。

  1. 我是否尝试根据正确的密钥服务器(keyring.debian.org)更新密钥?
  2. 如果这不是问题,那么 Debian 的人会修复这个问题(更新和发布密钥)吗?
  3. 如果不是,那么有没有办法在运行apt-get update时消除警告?apt-get install

小智 1

对于问题 3,apt-get option --allow-unauthenticated可能是一种可能的解决方法,但我不会将其用作永久解决方案,因为它不安全。