I am trying to reinstall some packages on a debian 7.11
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.11 (wheezy)
Release: 7.11
Codename: wheezy
我知道系统不再受支持,但是档案存储库应该仍然可以工作,不是吗?
我使用以下行更新了我的 /etc/sources.list:
deb http://archive.debian.org/debian wheezy main
一切正常,直到它检查(过期的)GPG 签名。我尝试添加一些不同的命令行选项来绕过签名验证,但似乎没有什么能让我绕过 gpg 检查并重新安装我需要的软件包。
主要问题:
(--allow-unathenticated 选项无效,安装/更新仍然失败。)
将其添加到 sources.list 也不起作用。
deb [trusted=yes] http://examplemachine/debian wheezy main
# apt-get --allow-unauthenticated update
Get:1 http://archive.debian.org wheezy Release.gpg [2,373 B]
Hit http://archive.debian.org wheezy Release
Ign http://archive.debian.org wheezy Release
Ign http://archive.debian.org wheezy/main i386 Packages/DiffIndex
Hit http://archive.debian.org wheezy/main Translation-en
Hit http://archive.debian.org wheezy/main i386 Packages
Ign http://archive.debian.org wheezy/main Translation-en_US
Fetched 2,373 B in 3s (680 B/s)
Reading package lists... Done
W: GPG error: http://archive.debian.org wheezy Release: The following signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED 1668891673 KEYEXPIRED 1557241909