我尝试使用升级我的Debian系统apt
,存储库设置为“测试”,因此我希望它会自动从“ Buster”更改为下一个版本“ Bullseye”,但由于“ Buster”继续运行,我得到了:
404 Not Found [IP: 151.101.12.204 80]
运行时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.
这是我的相关条目/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
我检查了man apt-secure
但找不到或了解相关信息。
更新:到目前为止,我有两个答案,两个答案都参考了官方的debian.org页面,但提出了一个完全不同的解决方案。有人可以解释一下,因为我决定不删除security.debian.org
条目,而是更改了版本属性格式。