首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >APT根本不起作用:"E:值'jessie‘对于APT::无效,因为这样的版本在源中不可用。“

APT根本不起作用:"E:值'jessie‘对于APT::无效,因为这样的版本在源中不可用。“
EN

Ask Ubuntu用户
提问于 2019-11-20 14:21:54
回答 1查看 6.2K关注 0票数 1

我正在尝试运行命令sudo apt-get install ssh,但是当我运行时,我会得到这个错误。

代码语言:javascript
复制
$ sudo apt-get install ssh
Reading package lists... Done
E: The value 'jessie' is invalid for APT::Default-Release as such a release is not available in the sources

当我试图修复apt update时,我得到了这个。

代码语言:javascript
复制
$ sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://ca.archive.ubuntu.com/ubuntu bionic InRelease                                              
Hit:3 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease                                      
Hit:4 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease              
Ign:5 http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease                                       
Ign:6 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Err:7 http://cdn-fastly.deb.debian.org/debian jessie-backports Release
404  Not Found [IP: 151.101.124.204 80]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:9 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2,365 B]
Ign:9 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg
Reading package lists... Done 
E: The repository 'http://httpredir.debian.org/debian jessie-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://cdn-fastly.deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY EF0F382A1A7B6500
E: The repository 'http://httpredir.debian.org/debian stretch Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The value 'jessie' is invalid for APT::Default-Release as such a release is not available in the sources

以前有人遇到过这种情况吗?有没有一种方法只是消除适当的依赖,重新开始?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2019-11-20 14:48:12

我注意到一个文件/etc/apt.conf.d/10apt,其中包含有关jessie的内容,结果导致了我的问题。删除该文件解决了问题。

票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1190341

复制
相关文章

相似问题

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