我收到错误
W:GPG错误:http://http.debian.netjessie 发布:以下签名无效:KEYEXPIRED 1668891673
在尝试更新我的操作系统时。
/etc/debian_version
:
8.11
/etc/sources/list
:
deb http://http.debian.net/debian/ jessie main contrib non-free
deb-src http://http.debian.net/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
#deb http://deb.debian.org/debian jessie-updates main contrib non-free
#deb-src http://deb.debian.org/debian jessie-updates main contrib non-frew
apt-getupdate
:
# apt-get clean
# apt-get update
Hit http://security.debian.org jessie/updates Release.gpg
Hit http://security.debian.org jessie/updates Release
Get:1 http://http.debian.net jessie Release.gpg [1,652 B]
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/non-free Sources
Hit http://http.debian.net jessie Release
Hit http://security.debian.org jessie/updates/main armhf Packages
Hit http://security.debian.org jessie/updates/contrib armhf Packages
Hit http://security.debian.org jessie/updates/non-free armhf Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Ign http://http.debian.net jessie Release
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Ign http://http.debian.net jessie/main Sources/DiffIndex
Ign http://http.debian.net jessie/contrib Sources/DiffIndex
Ign http://http.debian.net jessie/non-free Sources/DiffIndex
Ign http://http.debian.net jessie/main armhf Packages/DiffIndex
Ign http://http.debian.net jessie/contrib armhf Packages/DiffIndex
Ign http://http.debian.net jessie/non-free armhf Packages/DiffIndex
Hit http://http.debian.net jessie/contrib Translation-en
Hit http://http.debian.net jessie/main Translation-en
Hit http://http.debian.net jessie/non-free Translation-en
Hit http://http.debian.net jessie/main Sources
Hit http://http.debian.net jessie/contrib Sources
Hit http://http.debian.net jessie/non-free Sources
Hit http://http.debian.net jessie/main armhf Packages
Hit http://http.debian.net jessie/contrib armhf Packages
Hit http://http.debian.net jessie/non-free armhf Packages
Ign http://http.debian.net jessie/contrib Translation-en_US
Ign http://http.debian.net jessie/main Translation-en_US
Ign http://http.debian.net jessie/non-free Translation-en_US
Fetched 1,652 B in 28s (57 B/s)
Reading package lists... Done
W: GPG error: http://http.debian.net jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673
我已经下载了该软件包debian-archive-keyring_2021.1.1_all.deb
并尝试手动安装:
# dpkg -i /home/olimex/debian-archive-keyring_2021.1.1_all.deb
dpkg-deb: error: archive '/home/olimex/debian-archive-keyring_2021.1.1_all.deb' contains not understood data member control.tar.xz, giving up
dpkg: error processing /home/olimex/debian-archive-keyring_2021.1.1_all.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/home/olimex/debian-archive-keyring_2021.1.1_all.deb
我应该尝试什么?
答案1
你必须编写你的sources.list来更改为: http://archive.debian.org/debian/dists/
喜欢 :
deb http://archive.debian.org/debian/ jessie main non-free
deb-src http://archive.debian.org/debian/ jessie main non-free
deb http://archive.debian.org/debian-archive/debian-security/ jessie updates/main non-free