Raspbian apt-getがパッケージのバージョンを正しくチェックしないのはなぜですか?

Raspbian apt-getがパッケージのバージョンを正しくチェックしないのはなぜですか?

RaspberryPi(おそらくモデル3B)にいくつかのユーティリティをインストールしようとしていますが、apt-getパッケージバージョンのコマンドを解析するのに問題があります。

特にminicomインストールしようとすると、次のエラーが発生します。これは「telnet」や「putty」にも似ています。

$ sudo apt-get install minicom
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  lrzsz
The following NEW packages will be installed:
  lrzsz minicom
0 upgraded, 2 newly installed, 0 to remove and 317 not upgraded.
Need to get 332 kB of archives.
After this operation, 997 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  lrzsz minicom
Install these packages without verification? [y/N] y
Err http://mirrordirector.raspbian.org/raspbian/ jessie/main lrzsz armhf 0.12.21-7
  404  Not Found [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org/raspbian/ jessie/main minicom armhf 2.7-1+deb8u1
  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/l/lrzsz/lrzsz_0.12.21-7_armhf.deb  404  Not Found [IP: 93.93.128.193 80]

E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/m/minicom/minicom_2.7-1+deb8u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

エラーメッセージが示すように更新しようとしましたが、同様のエラーが発生しました。

$ sudo apt-get update
Hit http://archive.raspberrypi.org jessie InRelease
Ign http://mirrordirector.raspbian.org jessie InRelease
Ign http://mirrordirector.raspbian.org jessie Release.gpg
Ign http://mirrordirector.raspbian.org jessie Release
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Err http://mirrordirector.raspbian.org jessie/main armhf Packages
  404  Not Found [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/contrib armhf Packages
  404  Not Found [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/non-free armhf Packages
  404  Not Found [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org jessie/rpi armhf Packages
  404  Not Found [IP: 93.93.128.193 80]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/main/binary-armhf/Packages  404  Not Found [IP: 93.93.128.193 80]

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/contrib/binary-armhf/Packages  404  Not Found [IP: 93.93.128.193 80]

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/non-free/binary-armhf/Packages  404  Not Found [IP: 93.93.128.193 80]

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/rpi/binary-armhf/Packages  404  Not Found [IP: 93.93.128.193 80]

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

...そして:

$ sudo apt-get install minicom --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  lrzsz
The following NEW packages will be installed:
  lrzsz minicom
0 upgraded, 2 newly installed, 0 to remove and 317 not upgraded.
Need to get 332 kB of archives.
After this operation, 997 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  lrzsz minicom
Install these packages without verification? [y/N] y
Err http://mirrordirector.raspbian.org/raspbian/ jessie/main lrzsz armhf 0.12.21-7
  404  Not Found [IP: 93.93.128.193 80]
Err http://mirrordirector.raspbian.org/raspbian/ jessie/main minicom armhf 2.7-1+deb8u1
  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/l/lrzsz/lrzsz_0.12.21-7_armhf.deb  404  Not Found [IP: 93.93.128.193 80]

E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/m/minicom/minicom_2.7-1+deb8u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]

E: Internal Error, ordering was unable to handle the media swap

URLをブラウズすると、apt-getリポジトリになくなった以前のバージョンのパッケージを見つけるのに問題があるようです。

この問題をどのように解決できますか?

修正する:コメントを見ると、この問題の回避策はOSのバージョンを更新(再インストール)しているようです。セットアップメンテナンス担当者と話し合った結果、偶然にも、これらのシステムで多くの排他的および従来の部品が稼働していることがわかり、しばらく前に構成を凍結することにしました。

apt-get以前のパッケージバージョンをどこで見つけることができるかを教えてください。それでは、これらのバージョンをどこで見つけることができますか?

ベストアンサー1

発見するここ、archive.raspberrypi.org、またはmirrordirector.raspbian.orgのすべてのエントリをLegacy.raspbian.org(公式ウェブサイト)に置き換える必要があります。

おすすめ記事