Raspberry Pi의 ufw 설치 오류

Raspberry Pi의 ufw 설치 오류

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

이것은 귀하의 파이에 문제가 있는 것 같지 않습니다. 일반적으로 이는 새 버전의 저장소가 미러에 푸시될 때 발생합니다.

나는 이제 내 파이로 시도해 보았는데 훌륭하게 작동하지만 당신의 것과는 다른 미러를 사용하고 있습니다. 다른 미러를 사용해 보거나 나중에 다시 시도할 수도 있습니다.

관련 정보