wheezy-backports Release 不再有 Release 文件

Kar*_*ter 4 debian

有人可以帮我解决 Debian 9 Stretch 问题吗?我只是想安装nodejs,但是当我运行时apt-get update遇到了这些错误。

第一个错误是:

Err:11 http://cdn-fastly.deb.debian.org/debian wheezy-backports Release
404  Not Found [IP: 151.101.36.204 80]
Run Code Online (Sandbox Code Playgroud)

第二个错误是:

E: The repository 'http://httpredir.debian.org/debian wheezy-backports 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.
Run Code Online (Sandbox Code Playgroud)

请不要认为我对Linux有深入的了解,我只是一个菜鸟。我只想能够安装nodejs,但我坚持了下来。对于傻瓜的回答将不胜感激,谢谢。

系统信息:

PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
Run Code Online (Sandbox Code Playgroud)

sources.list:

deb http://ftp.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb http://download.bareos.org/bareos/release/latest/Debian_9.0/ /
deb [arch=amd64] https://download.docker.com/linux/debian stretch stable
deb http://deb.debian.org/debian stretch-backports main
Run Code Online (Sandbox Code Playgroud)

sources.list.d 中的文件:

drwxr-xr-x 2 root root 4096 Jun 28 09:32 .
drwxr-xr-x 6 root root 4096 Jun 28 09:32 ..
-rw-r--r-- 1 root root   75 Jun 28 09:09 docker.list
-rw-r--r-- 1 root root   73 Mar  8 03:59 docker.list.save
-rw-r--r-- 1 root root   62 Jun 28 09:30 httpredir_debian_org_debian.list
-rw-r--r-- 1 root root   62 Jun 28 09:30 httpredir_debian_org_debian.list.save
-rw-r--r-- 1 root root  112 Jun 28 09:32 nodesource.list
Run Code Online (Sandbox Code Playgroud)

Ste*_*itt 5

主镜像网络上不再提供 Wheezy 向后移植,这就是为什么apt-get update会出现该错误。该错误不会影响 APT\xe2\x80\x99s 的其余功能,因此您仍然应该能够从其他配置的存储库安装软件包。

\n\n

您不应该\xe2\x80\x99 在 Debian 9 上需要 Wheezy 向后移植,因此消除该错误的适当操作过程是将其从您的配置中删除。我怀疑存储库是在 中定义的/etc/apt/sources.list.d/httpredir_debian_org_debian,因此将其移开:

\n\n
sudo mv /etc/apt/sources.list.d/httpredir_debian_org_debian{,.bak}\nsudo apt update\n
Run Code Online (Sandbox Code Playgroud)\n