為什麼即使在 Debian 8 上禁用有效性檢查後我仍然收到軟體包身份驗證警告?

為什麼即使在 Debian 8 上禁用有效性檢查後我仍然收到軟體包身份驗證警告?

我仍在過時的 Banana Pi BPI-R1 硬體上運行 Debian 8“Jessy”。但現在,當我嘗試安裝軟體包時,我得到了

WARNING: The following packages cannot be authenticated!

運行後

$ apt update                                
Ign http://archive.debian.org jessie InRelease
Get:1 http://archive.debian.org jessie-backports InRelease [166 kB]
...
Hit http://archive.debian.org jessie/contrib armhf Packages                                                                                                                                                                                  
Fetched 168 kB in 26s (6457 B/s)                                                                                                                                                                                                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
34 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: GPG error: http://archive.debian.org jessie-backports InRelease: The following signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED 1668891673
W: GPG error: http://archive.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717

事實證明,Debian 密鑰已於 2022 年過期。

基本上我遵循了以下指南https://blog.milliondollarserver.com/2020/06/fix-apt-get-update-error-on-old-debian.html

不幸的是,解決方法並不能解決我的問題。當我嘗試使用包“工作”時,我仍然收到警告:

$ apt install dpkg-sig
Reading package lists... Done
Building dependency tree       
Reading state information... Done
...
Install these packages without verification? [y/N] 
E: Some packages could not be authenticated

我確認修復已應用:

$ apt-config dump|grep Valid
Acquire::Check-Valid-Until "false";

有任何提示我做錯了什麼嗎?

目前還沒有計劃更換硬體並使用最新的 Debian...;-)

相關內容