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

Dav*_*mes 1 debian

当我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.
Run Code Online (Sandbox Code Playgroud)

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

$ 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
Run Code Online (Sandbox Code Playgroud)

一些系统信息:

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

Wou*_*lst 7

Debian 版本在其生命周期中有五个阶段:

  • 测试:该版本正在开发中,没有向后移植或安全存档
  • 稳定:版本现已发布,并创建了反向移植和安全存档
  • oldstable:这个版本发布之后的下一个版本。所有架构的安全支持仍然由安全团队维护,并且 backports 存档仍然受到支持,直到它成为 oldstable 一年后。
  • 长期支持(LTS):在Debian下一个版本发布一年后,安全团队停止支持该版本,由 LTS 团队接手。LTS 团队不支持 backports,也不支持所有架构;仅支持有限的架构列表。此外,在 LTS 阶段并非所有软件包都受支持;值得注意的是,像 webbrowsers 等的东西是明确不支持的(但还有很多其他的东西)。
  • 不再支持:LTS 阶段在该版本最初发布 5 年后结束;那时,版本被移动到 archive.debian.org

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

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