Debian Stretch更新问题

问题描述 投票:1回答:1

我想在我的笔记本电脑上保持更新我的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 debian-stretch
1个回答
0
投票

如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

© www.soinside.com 2019 - 2024. All rights reserved.