存储库 jessie-backports Release 不再有 Release 文件

存储库 jessie-backports Release 不再有 Release 文件

apt update当我在我的系统上运行时,我得到以下输出(最后出现错误) :

$ sudo apt update
Ign:1 http://deb.debian.org/debian stretch InRelease                                                                                                                                                                                                         
Hit:2 http://packages.microsoft.com/repos/vscode stable InRelease                                                                                                                 
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                
Hit:4 http://security.debian.org/debian-security stable/updates InRelease
Hit:6 http://ftp.us.debian.org/debian stable-updates InRelease                                                                                              
Hit:7 http://fai-project.org/download stretch InRelease                                                              
Hit:8 http://repository.spotify.com stable InRelease                                                                 
Hit:9 http://deb.debian.org/debian-security stretch/updates InRelease                          
Hit:10 http://dl.google.com/linux/chrome/deb stable Release              
Hit:12 http://deb.debian.org/debian stretch-backports InRelease          
Hit:13 https://download.docker.com/linux/debian stretch InRelease
Hit:14 https://deb.nodesource.com/node_10.x stretch InRelease
Ign:15 http://deb.debian.org/debian stable InRelease
Ign:17 http://deb.debian.org/debian jessie-backports InRelease
Ign:18 http://deb.debian.org/debian jessie InRelease
Hit:19 http://deb.debian.org/debian testing InRelease
Hit:5 https://release.memsql.com/production/debian memsql InRelease
Hit:20 http://deb.debian.org/debian unstable InRelease
Hit:21 http://deb.debian.org/debian stretch Release
Hit:11 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Hit:23 http://deb.debian.org/debian stable Release  
Err:25 http://deb.debian.org/debian jessie-backports Release
  404  Not Found [IP: 151.101.248.204 80]
Hit:26 http://deb.debian.org/debian jessie Release
Reading package lists... Done
E: The repository 'http://deb.debian.org/debian jessie-backports Release' does no longer 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.

我不明白为什么我会收到此错误。

$ cat /etc/apt/sources.list
# These lines should work for many sites

deb http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian-security stretch/updates main contrib non-free
deb http://deb.debian.org/debian stretch-backports main contrib non-free

# repository that may contain newer fai packages for stretch
deb [trusted=yes] http://fai-project.org/download stretch koeln

$ grep jessie-backports /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/jessie-backports.list:deb http://deb.debian.org/debian/ jessie-backports main contrib non-free
/etc/apt/sources.list.d/jessie-backports.list:# deb-src http://deb.debian.org/debian/ jessie-backports main contrib non-free
/etc/apt/sources.list.d/jessie-backports.list.save:deb http://deb.debian.org/debian/ jessie-backports main contrib non-free
/etc/apt/sources.list.d/jessie-backports.list.save:# deb-src http://deb.debian.org/debian/ jessie-backports main contrib non-free

一些系统信息:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.8 (stretch)
Release:        9.8
Codename:       stretch

答案1

Debian 版本的生命周期有五个阶段:

  • 测试:该版本正在开发中,没有向后移植或安全存档
  • stable:该版本现已发布,并创建了向后移植和安全存档
  • oldstable:此版本发布后的下一个版本。安全团队仍然为所有架构维护安全支持,并且仍然支持向后移植存档,直到它变得旧稳定一年后。
  • 长期支持(LTS):发布一年后下一个Debian 版本,安全团队停止支持该版本,LTS 团队接管。 LTS团队不支持向后移植,也不支持所有架构;仅支持有限的架构列表。此外,LTS 阶段并不支持所有软件包;值得注意的是,明确不支持诸如网络浏览器等之类的东西(但还有许多其他东西)。
  • 不再支持:LTS 阶段在该版本最初发布 5 年后结束;此时,该版本已移至 archive.debian.org

Jessie 于 2017 年 6 月 17 日成为旧稳定版,因此于 2018 年 6 月 17 日成为 LTS。因此,jessie-backports 存储库现在处于休眠状态。它被保留了一段时间,以允许某些有效的用例,但向后移植管理员最近做了一些维护工作,并禁用了 jessie-backports 存储库;这就是您现在收到这些错误的原因。

向后移植存储库旨在包含下一版本 Debian 中可用的软件版本;即,jessie-backports 将包含带有在stretch 中发布的版本的软件包。因此,如果您已经像您声称的那样转向了stretch,那么在系统上启用jessie-backports应该不会带来任何好处,您应该坚持使用stretch存储库并从jessie继续前进。

答案2

由于 Jessie 不再是 Debian 的最新稳定版本(Stretch 是),我相信它们不再支持 jessie-backports。现在是拉伸向后移植。在基于 jessie 的机器上运行拉伸向后移植并不是很安全,因为拉伸向后移植是根据 Stretch 中的可用内容重新编译的。不幸的是你的选择是:

  1. 升级为拉伸
  2. 删除 jessie-backports (它似乎位于 /etc/apt/sources.list.d/ 中)

相关内容