我正在尝试更新,但不断收到此错误。有谁知道为什么会发生这种情况以及如何解决?
我已经尝试过here列出的内容,以及 Ubuntu 中的其他几个类似论坛,但我找不到任何人在 Parrot OS 上遇到此问题的记录。我不确定如何更改存储库条目,也不知道这是否是正确的解决方案。
我也觉得这个看起来有点粗略,所以我避开了。
提前谢谢您!
Hit:1 https://deb.parrot.sh/parrot lory InRelease
Hit:2 https://deb.parrot.sh/direct/parrot lory-security InRelease
Get:3 https://deb.parrot.sh/parrot lory-backports InRelease [29.6 kB]
Get:4 https://deb.parrot.sh/parrot lory-backports/main amd64 Packages [394 kB]
Err:4 https://deb.parrot.sh/parrot lory-backports/main amd64 Packages
File has unexpected size (393870 != 393884). Mirror sync in progress? [IP: 45.33.93.153 443]
Hashes of expected file:
- Filesize:393884 [weak]
- SHA256:2c97dcc05db070ed44a462e5f7e19549cfc14ccc613ebbcfe88df74fb007c525
- SHA1:7cb9d5d87a021468e9625e2eba6a9c077b96c347 [weak]
- MD5Sum:e5f8a6166febcd00de7de2db896b8ab4 [weak]
Release file created at: Wed, 14 Feb 2024 14:53:05 +0000
这可能是由存储库服务器问题引起的。更换镜子为我解决了这个问题。
更改
/etc/apt/sources.list.d/parrot.list
中“Backports”部分下的存储库 URL:
将
https://deb.parrot.sh/parrot
更改为镜子,例如 https://parrot.mirror.garr.it/mirrors/parrot
(或另一个更近的镜子)。