Debian Stretchに移行するときに「Wheezy」リクエスト

Debian Stretchに移行するときに「Wheezy」リクエスト

サーバーにDebian Jessieがあり、それを次に移行しようとしました。Debian ストレッチ。私たちのサーバーをDebianの実際のバージョンにアップグレードしたいと思います。

このコマンドを実行するsudo apt-get updateとエラーが発生します。

Err http://ftp.us.debian.org wheezy/main Sources
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/contrib Sources
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/non-free Sources
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/main amd64 Packages
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/contrib amd64 Packages
  404  Not Found [IP: 64.50.233.100 80]
Err http://ftp.us.debian.org wheezy/non-free amd64 Packages
  404  Not Found [IP: 64.50.233.100 80]

実行後にapt install apt -t stretch他のエラーが発生しますが、まだ「Wheezy」が発生します。

W: The repository 'http://ftp.us.debian.org/debian wheezy Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://downloads.opsview.com/opsview-core/latest/apt wheezy InRelease: The following signatures were invalid: 3814C24CF407EC2F9EB07631327C70CD0FC6984B
W: Failed to fetch http://downloads.opsview.com/opsview-core/latest/apt/dists/wheezy/InRelease  The following signatures were invalid: 3814C24CF407EC2F9EB07631327C70CD0FC6984B
E: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/contrib/source/Sources  404  Not Found [IP: 208.80.154.15 80]

コマンドはsudo apt-get upgrade正常に実行されます。

このコマンドはsudo apt-get dist-upgrade「wheezy」のエラーも返します。

Err http://ftp.us.debian.org/debian/ wheezy/main sysvinit amd64 2.88dsf-41+deb7u1
  404  Not Found [IP: 208.80.154.15 80]

文書/etc/apt/sources.list

#deb http://ftp.nl.debian.org/debian stretch main

deb http://ftp.nl.debian.org/debian stretch main non-free contrib
deb-src http://ftp.nl.debian.org/debian stretch main non-free contrib

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.nl.debian.org/debian stretch-updates main contrib non-free
deb-src http://ftp.nl.debian.org/debian stretch-updates main contrib non-free

deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main
# deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main

たぶん設定ファイルで何かを変更する必要があるかもしれませんが、何がどこにあるのかわかりません。

ベストアンサー1

Wheezyを参照する他の設定ファイルがあるかもしれません/etc/apt/sources.list.d。その項目も削除する必要があります。

これらのエラーは無害ですが、なぜそれを削除したいのか理解しています!

おすすめ記事