Debian Stretch更新问题

时间:2018-10-18 06:56:08

标签: apt debian-stretch

我正在尝试在笔记本电脑上更新我的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.

这是我的消息来源。

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

1 个答案:

答案 0 :(得分:0)

如apt-secure手册页中所述:

let oddsArray = [undefined, undefined, 5, 5] // 10

这意味着如果 apt 无法验证签名,它将不会继续。仅当您这样适当地指定Starting with version 0.6, APT contains code that does signature checking of the Release file for all repositories.时,它才会更新:

--allow-unauthenticated