![apt-get update 无法完成 Ubuntu 的新安装(文件大小意外,镜像同步正在进行中)](https://linux22.com/image/946379/apt-get%20update%20%E6%97%A0%E6%B3%95%E5%AE%8C%E6%88%90%20Ubuntu%20%E7%9A%84%E6%96%B0%E5%AE%89%E8%A3%85%EF%BC%88%E6%96%87%E4%BB%B6%E5%A4%A7%E5%B0%8F%E6%84%8F%E5%A4%96%EF%BC%8C%E9%95%9C%E5%83%8F%E5%90%8C%E6%AD%A5%E6%AD%A3%E5%9C%A8%E8%BF%9B%E8%A1%8C%E4%B8%AD%EF%BC%89.png)
操作系统:macOS Monterey 12.3.1 虚拟机管理程序:Oracle VirtualBox 6.1.34
我已经安装了最新的 Ubuntu,但是每当我输入“apt update”时就会发生这种情况。
尽管重新安装了主机操作系统,但几个月前的问题仍然存在。
我已经尝试将服务器位置更改为主服务器,因为它默认使用波兰服务器,但无济于事。
我也尝试过等待服务器的“同步”完成,但也没有帮助。
我不得不大幅删减这条消息,因为愚蠢的“垃圾邮件”检测器出于某种原因标记了这条消息。
File has unexpected size (13203 != 1040312). Mirror sync in progress? [IP: 185.125.190.39 80]
Hashes of expected file:
- Filesize:1040312 [weak]
- SHA256:899066c13d1ea78bfe577b1acb26db3a0641385159c0f1a938ab66b8b30c54f4
- SHA1:ee465975963ec9e83f95bbaeab3b5c78f7605d87 [weak]
- MD5Sum:44e5eee449c2602b3b87f014530c38ee [weak]
Release file created at: Thu, 21 Apr 2022 17:16:08 +0000
Err:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata
File has unexpected size (13209 != 6628). Mirror sync in progress? [IP: 185.125.190.39 80]
Hashes of expected file:
- Filesize:6628 [weak]
- SHA256:e55c475ddae586e2ba1768747fc1897b3d1b0cff1f7d945224e8667422db6f5d
- SHA1:91ae12c7bdf528a0f44b9aebc9c00b7d6a94b18d [weak]
- MD5Sum:a2b51dc93abfd18616284b0d3d4ffbc7 [weak]
Release file created at: Fri, 29 Apr 2022 15:46:01 +0000
Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/main DEP-11 48x48 Icons [2 497 B]
Err:25 http://archive.ubuntu.com/ubuntu jammy-updates/main DEP-11 48x48 Icons
Get:52 http://archive.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [116 B]
Fetched 208 kB in 10s (21,5 kB/s)
Reading package lists... Done
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/main/binary-i386/by-hash/SHA256/899066c13d1ea78bfe577b1acb26db3a0641385159c0f1a938ab66b8b30c54f4 File has unexpected size (13203 != 1040312). Mirror sync in progress? [IP: 185.125.190.39 80]
Hashes of expected file:
- Filesize:1040312 [weak]
- SHA256:899066c13d1ea78bfe577b1acb26db3a0641385159c0f1a938ab66b8b30c54f4
- SHA1:ee465975963ec9e83f95bbaeab3b5c78f7605d87 [weak]
- MD5Sum:44e5eee449c2602b3b87f014530c38ee [weak]
Release file created at: Thu, 21 Apr 2022 17:16:08 +0000
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/restricted/binary-i386/by-hash/SHA256/7bf60e9918f80a7278fd6baf49056aaad676d36d3acf1113561894c3eb98d3de
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/universe/binary-amd64/by-hash/SHA256/d29cb24c93fec5f43255706bce7eb46d4779952039d8c68ac1bb14a6f3655ce2
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/universe/binary-i386/by-hash/SHA256/0ced8b76967dac30c18568f682f0d67744c9255647c4ab184ca4e2e865e39b51
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/universe/i18n/by-hash/SHA256/69c65ea370877691c8ac9827e89c68d134055f5c6eb569d963c9cac99e94edb8
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/universe/dep11/by-hash/SHA256/ac3ebc3fdeb01efe2a90baddf426019c34b85fc60fdf4c02db1475396df1a2fd
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/universe/dep11/by-hash/SHA256/1d7dfbdc732c04cdb452476d2912a2b67e9460e048e8a0c81a65937f624e36d8
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/main/dep11/by-hash/SHA256/e55c475ddae586e2ba1768747fc1897b3d1b0cff1f7d945224e8667422db6f5d File has unexpected size (13209 != 6628). Mirror sync in progress? [IP: 185.125.190.39 80]
Hashes of expected file:
- Filesize:6628 [weak]
- SHA256:e55c475ddae586e2ba1768747fc1897b3d1b0cff1f7d945224e8667422db6f5d
- SHA1:91ae12c7bdf528a0f44b9aebc9c00b7d6a94b18d [weak]
- MD5Sum:a2b51dc93abfd18616284b0d3d4ffbc7 [weak]
Release file created at: Fri, 29 Apr 2022 15:46:01 +0000
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/main/dep11/by-hash/SHA256/314b60860225c9197ba68537a79147500c3d8d1d204aa1ba8810e8dd974c0ff3
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/main/dep11/by-hash/SHA256/77bd54b14f9f30eda5ecc507066d2ccc7167887108eed1de8dfb424ae2fd1941
E: Some index files failed to download. They have been ignored, or old ones used instead.