Ubuntu 20.04 LTS apt 更新错误 => E: 某些索引文件下载失败。它们已被忽略,或改用旧文件

Ubuntu 20.04 LTS apt 更新错误 => E: 某些索引文件下载失败。它们已被忽略,或改用旧文件

当我尝试更新 Ubuntu 20.04 LTS 中的 apt 存储库时收到此错误消息。这是第一次发生这种情况,通常情况下一切正常。

我尝试寻找答案,但没有发现有人在该版本的 Ubuntu 中遇到同样的问题,只有在旧版本中才遇到。

我已经尝试清除缓存,但错误仍然存​​在。

sudo apt update

错误信息如下:

E: Failed to fetch
http://br.archive.ubuntu.com/ubuntu/dists/focal-updates/main/dep11/Components-amd64.yml.xz
File has unexpected size (279160 != 279228). Mirror sync in progress?
[IP: 2801:82:80ff:8000::5 80]    Hashes of expected file:
    - Filesize:279228 [weak]
    - SHA256:78f28646eccfe2b6f38ad2186e2888630ad7603dc6ca7f900edb301d3f0a7e75
    - SHA1:8e9d240ba7b8e641a505f39219ac03af43152af6 [weak]
    - MD5Sum:42fdba3fddf8ed8719269cd7489af40b [weak]    Release file created at: Wed, 19 Jan 2022 14:21:17 +0000 

E: Failed to fetch
http://br.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/dep11/Components-amd64.yml.xz

E: Failed to fetch 
http://br.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/dep11/Components-amd64.yml.xz

E: Failed to fetch
http://br.archive.ubuntu.com/ubuntu/dists/focal-backports/main/dep11/Components-amd64.yml.xz

File has unexpected size (7992 != 7984). Mirror sync in progress? [IP: 2801:82:80ff:8000::5 80]    Hashes of expected file:
    - Filesize:7984 [weak]
    - SHA256:9cacb7791c51451db28fade0b4affa3425b33ce5c0a5a9604d46bbe1b77962f4
    - SHA1:be70071da1e1ccd98b0eebcdaae7ce83ebf26aa6 [weak]
    - MD5Sum:901f543f4f5e8065adb8f7101dcc0529 [weak]    Release file created at: Wed, 19 Jan 2022 14:22:09 +0000 

E: Failed to fetch
http://br.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/dep11/Components-amd64.yml.xz
E: Some index files failed to download. They have been ignored, or old ones used instead.

第一次使用这个论坛... 感谢大家的关注。最近开始接触 Linux 世界,似乎有一个很棒的社区。

相关内容