現在Debian 6.0 squeezeをアップデートする方法(2016年9月)

現在Debian 6.0 squeezeをアップデートする方法(2016年9月)

インターネットにはいくつかのマニュアルがありますが、彼らはすべてDebianがまだ6.0のイメージを維持していると思います。

しかし、Debian リポジトリは現在圧迫されていません。

では、ミラーが利用できない場合、現在のサーバーを保守可能なサーバーに更新するにはどうすればよいですか?

apt-get update  
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_GB
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_GB
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_GB
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main Sources               
Hit http://security.debian.org squeeze/updates/contrib Sources
Hit http://security.debian.org squeeze/updates/non-free Sources
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Hit http://security.debian.org squeeze/updates/contrib amd64 Packages
Hit http://security.debian.org squeeze/updates/non-free amd64 Packages
Ign http://ftp.us.debian.org squeeze Release.gpg   
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en_GB
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_GB
Ign http://ftp.us.debian.org/debian/ squeeze/non-free Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/non-free Translation-en_GB
Ign http://ftp.us.debian.org squeeze Release
Ign http://ftp.us.debian.org squeeze/main Sources
Ign http://ftp.us.debian.org squeeze/contrib Sources
Ign http://ftp.us.debian.org squeeze/non-free Sources
Ign http://ftp.us.debian.org squeeze/main amd64 Packages
Ign http://ftp.us.debian.org squeeze/contrib amd64 Packages
Ign http://ftp.us.debian.org squeeze/non-free amd64 Packages
Err http://ftp.us.debian.org squeeze/main Sources
  404  Not Found [IP: 128.30.2.26 80]
Err http://ftp.us.debian.org squeeze/contrib Sources
  404  Not Found [IP: 128.30.2.26 80]
Err http://ftp.us.debian.org squeeze/non-free Sources
  404  Not Found [IP: 128.30.2.26 80]
Err http://ftp.us.debian.org squeeze/main amd64 Packages
  404  Not Found [IP: 128.30.2.26 80]
Err http://ftp.us.debian.org squeeze/contrib amd64 Packages
  404  Not Found [IP: 128.30.2.26 80]
Err http://ftp.us.debian.org squeeze/non-free amd64 Packages
  404  Not Found [IP: 128.30.2.26 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/source/Sources.gz  404  Not Found [IP: 128.30.2.26 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/contrib/source/Sources.gz  404  Not Found [IP: 128.30.2.26 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/non-free/source/Sources.gz  404  Not Found [IP: 128.30.2.26 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/binary-amd64/Packages.gz  404  Not Found [IP: 128.30.2.26 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/contrib/binary-amd64/Packages.gz  404  Not Found [IP: 128.30.2.26 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/non-free/binary-amd64/Packages.gz  404  Not Found [IP: 128.30.2.26 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.

ベストアンサー1

Debian SqueezeがEOLに到達しましたが、何も受信できませんでした。セキュリティアップデートただし、データベースを更新してパッケージをインストールする必要がある場合は、そのリポジトリはDebianアーカイブにあります。

sources.list次のように編集する必要があります。

deb http://archive.debian.org/debian/ squeeze main non-free contrib

また、他のすべてのリポジトリをコメントアウトする必要があります。

実行を更新するには:

apt-get install debian-archive-keyring
apt-get update

Debian ファイル

時間の経過とともに、以前のバージョンのバイナリパッケージが期限切れになります。現在、squeeze、lenny、etch、sarge、Woody、Potato、slink、hamm、boのバイナリを提供しており、その他のバージョンについてはソースコードのみ提供しています。

APTを使用する場合、関連するsource.listエントリは次のようになります。

 deb http://archive.debian.org/debian/ hamm contrib main non-free

または

 deb http://archive.debian.org/debian/ bo bo-unstable contrib main non-free

おすすめ記事