Raspberry Piのdnsutilsインストールエラー

Raspberry Piのdnsutilsインストールエラー

Raspberry Piにdnsutilsをインストールしようとしています。

sudo apt-get install dnsutils

次のエラーメッセージが表示されます。

Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libirs161 armhf 1:9.11.5.P4+dfsg-5.1+deb10u1
  404  Not Found [IP: 93.93.128.193 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf dnsutils armhf 1:9.11.5.P4+dfsg-5.1+deb10u1
  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/libirs161_9.11.5.P4+dfsg-5.1+deb10u1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/b/bind9/dnsutils_9.11.5.P4+dfsg-5.1+deb10u1_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?

何らかの理由でファイルが見つかりません。他の人がRaspberry Piでこの問題を経験しているかどうかはわかりませんし、他の方法でインストールできるかどうかはわかりません。どんな提案がありますか?

ベストアンサー1

問題は、リポジトリのバージョンが変更されたことです。更新を実行するapt-get updateには、作業前に明示的な同意が必要です。変更を受け入れるコマンドは次のとおりです。

sudo apt-get update --allow-releaseinfo-change

変更を適用するには、次のようにリポジトリをアップグレードする必要があります。

sudo apt-get upgrade

それではdnsutilsインストール成功〜

sudo apt-get install dnsutils

おすすめ記事