我想在我的笔记本电脑上保持更新我的debian延伸。当我运行此命令
apt-get update && apt-get upgrade
它显示以下输出
Reading package lists... Done
E: The repository 'http://ftp.us.debian.org/debian stretch 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.
E: The repository 'http://ftp.us.debian.org/debian stretch-updates 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.
这是我的sources.list
deb http://ftp.us.debian.org/debian/ stretch main
deb-src http://ftp.us.debian.org/debian/ stretch main
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib
deb http://security.debian.org/debian-security stretch/updates main contrib non-free
如apt-secure联机帮助页中所示:
Starting with version 0.6, APT contains code that does signature checking of the Release file for all repositories.
这意味着如果apt无法验证签名,它就不会继续。如果你在apt中指定--allow-unauthenticated
,它只会更新:
sudo apt-get --allow-unauthenticated update