Raspberry Piにufwパッケージをインストールしようとしていますが、このエラーが発生してどうすればいいかわかりません。
実行後、sudo apt install ufw
次のエラーが発生します。
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ufw
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 164 kB of archives.
After this operation, 852 kB of additional disk space will be used.
Get:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf ufw all 0.36-1 [164 kB]
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf ufw all 0.36-1
File has unexpected size (2567 != 164352). Mirror sync in progress? [IP: *ip here*]
Hashes of expected file:
- SHA256:798b91b28eba5a49d3c06f023dcc38be4daa3f2460113acc420882f8d291a4a2
- SHA1:9ee5e07bd552fccd53e7525c47828a43b2da34e0 [weak]
- MD5Sum:fd529b954c032fc0839b0aec4e52659a [weak]
- Filesize:164352 [weak]
E: Failed to fetch https://register.be.xfinity.com/activate?channel=WALLEDGARDEN File has unexpected size (2567 != 164352). Mirror sync in progress? [IP: *ip here* ]
Hashes of expected file:
- SHA256:798b91b28eba5a49d3c06f023dcc38be4daa3f2460113acc420882f8d291a4a2
- SHA1:9ee5e07bd552fccd53e7525c47828a43b2da34e0 [weak]
- MD5Sum:fd529b954c032fc0839b0aec4e52659a [weak]
- Filesize:164352 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
その後、提案どおりに実行しようとしました。sudo apt install ufw --fix-missing
結果は次のとおりです。
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ufw
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 164 kB of archives.
After this operation, 852 kB of additional disk space will be used.
Get:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf ufw all 0.36-1 [164 kB]
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf ufw all 0.36-1
File has unexpected size (2567 != 164352). Mirror sync in progress? [IP: *ip here*]
Hashes of expected file:
- SHA256:798b91b28eba5a49d3c06f023dcc38be4daa3f2460113acc420882f8d291a4a2
- SHA1:9ee5e07bd552fccd53e7525c47828a43b2da34e0 [weak]
- MD5Sum:fd529b954c032fc0839b0aec4e52659a [weak]
- Filesize:164352 [weak]
E: Failed to fetch https://register.be.xfinity.com/activate?channel=WALLEDGARDEN File has unexpected size (2567 != 164352). Mirror sync in progress? [IP: *ip here*]
Hashes of expected file:
- SHA256:798b91b28eba5a49d3c06f023dcc38be4daa3f2460113acc420882f8d291a4a2
- SHA1:9ee5e07bd552fccd53e7525c47828a43b2da34e0 [weak]
- MD5Sum:fd529b954c032fc0839b0aec4e52659a [weak]
- Filesize:164352 [weak]
E: Internal Error, ordering was unable to handle the media swap
sudo apt-get update
何もしないようです。助けてくれてありがとう。
ベストアンサー1
これはあなたのパイに問題があるようではありません。通常、これは新しいバージョンのリポジトリがミラーにプッシュされると発生します。
私は今私のパイで試してみましたが、うまくいきますが、あなたのものとは異なるミラーを使用しています。別のミラーを試してみるか、後でもう一度やり直してください。