Debian:存储库没有发布文件


39

每当尝试从源代码安装某些程序或专门运行apt更新时,我都会收到以下消息:

E: The repository 'http://ftp.ca.debian.org/debian stretch/updates 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.

添加体系结构i386之后,我开始得到此信息。没有它,我将无法安装专有的Nvidia驱动程序,并且Steam客户端将完全无法启动。这是我的/etc/apt/sources.list读物:

deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ stretch main contrib non-free

deb http://ftp.ca.debian.org/debian/ stretch/updates main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ stretch/updates main contrib non-free

####stretch-updates, previously known as 'volatile'

deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free

deb-src http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free

Answers:


24

您同时拥有stretch-updatesstretch/updates,但后者已不存在(至少在您使用的镜子上)。您应该删除对的引用stretch/updates,或者-如果您希望这些stretch/updates行提供安全更新,请用替换它们

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

我删除了它,并解决了该问题,但它很奇怪,因为在软件与源程序中,拉伸/发布(带有斜杠)指的是拉伸的安全更新。

2
是的,但这是来自https://security.debian.org,而不是您的本地镜像。(stretch/updates不是)stretch/release;有关文件和相应的说明,请参见此处。)Release
Stephen Kitt
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.