Debian 测试 - 将“Buster”升级到“Bullseye”版本,没有服务器 security.debian.org

nat*_*ath 14 debian apt upgrade software-updates dist-upgrade

我尝试使用 升级我的 Debian 系统apt,存储库设置为“测试”,所以我希望它会自动从“Buster”更改为下一个版本“Bullseye”,但由于“Buster”继续前进,我得到:

404  Not Found [IP: 151.101.12.204 80]
Run Code Online (Sandbox Code Playgroud)

运行时apt update

security.debian.org地址似乎不具有发布的文件,没有地址的变化?

E: The repository 'http://security.debian.org testing/updates Release' no longer has 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)

这是我的相关条目/etc/apt/sources.list

deb http://ftp.ch.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.ch.debian.org/debian/ testing main contrib non-free

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://ftp.ch.debian.org/debian/ testing-updates main contrib non-free
deb-src http://ftp.ch.debian.org/debian/ testing-updates main contrib non-free
Run Code Online (Sandbox Code Playgroud)

我查过,man apt-secure但无法找到或理解相关信息。


更新:到目前为止,我得到了两个答案,都参考了官方debian.org页面,但提出了一个完全不同的解决方案。有人可以解释一下,因为我决定不删除security.debian.org条目,而是更改了版本属性格式。

小智 22

来自https://wiki.debian.org/Status/Testing

deb http://security.debian.org testing-security main contrib non-free
deb-src http://security.debian.org testing-security main contrib non-free 
Run Code Online (Sandbox Code Playgroud)

在最新版本之后,条目略有变化。

  • 这是公告 (https://lists.debian.org/debian-devel-announce/2019/07/msg00004.html):“...在过去的几年里,我们让人们对 <suite>-updates (推荐更新)和 <suite>/updates(安全更新)。因此,从 Debian 11“bullseye”开始,我们将包含安全更新的套件重命名为 <suite>-security。sources.list 中的条目应类似于 deb http: //security.debian.org/debian-security Bullseye-security main 对于以前的版本,名称不会改变。” (8认同)