wheezy-backports リリースにはリリースファイルはありません。

wheezy-backports リリースにはリリースファイルはありません。

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]

2番目のエラーは次のとおりです。

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.

私はLinuxについて深い知識を持っていると仮定しないでください。私は初心者だけです。をインストールしたいのですが、nodejs詰まっています。人形に答えてくれてありがとう。

システムメッセージ:

PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian

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

source.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

ベストアンサー1

Wheezyバックポートはマスターミラーネットワークで使用できなくなったため、apt-get updateこのエラーが発生します。このバグは APT の残りの機能には影響しません。したがって、設定された他のリポジトリからパッケージをインストールすることができます。

Debian 9 では Wheezy をバックポートする必要がないため、このバグを削除するための適切な方法は設定から​​削除することです。リポジトリが定義されていると疑われ、/etc/apt/sources.list.d/httpredir_debian_org_debian別の場所に移動しました。

sudo mv /etc/apt/sources.list.d/httpredir_debian_org_debian{,.bak}
sudo apt update

おすすめ記事