首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >升级debian jessie KEYEXPIRED

升级debian jessie KEYEXPIRED
EN

Unix & Linux用户
提问于 2023-01-08 14:08:09
回答 1查看 3.2K关注 1票数 0

我搞错了

W: GPG错误:http://http.debian.net jessie发行版:下列签名无效: KEYEXPIRED 1668891673

同时试图更新我的操作系统。/etc/debian_version

代码语言:javascript
复制
8.11

/etc/sources/list

代码语言:javascript
复制
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

代码语言:javascript
复制
# 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并尝试手动安装:

代码语言:javascript
复制
# 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

我该试试什么?

EN

回答 1

Unix & Linux用户

发布于 2023-01-15 05:58:12

您必须编写您的sources.list以更改为:http://archive.debian.org/debian/dists/

比如:

代码语言:javascript
复制
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
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/730977

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档