运行时,apt full-upgrade
或者apt update
我得到几个与这个或多或少相同的日志,其中有相同的文件大小、SHA1 和 MD5,但 SHA256 不同:
E: Failed to fetch store:/var/lib/apt/lists/partial/jp.archive.ubuntu.com_ubuntu_dists_focal_main_binary-amd64_Packages.xz Hash Sum mismatch
Hashes of expected file:
- Filesize:5826751 [weak]
- SHA256:af226b4496cbb524bd4814d102047ae77769836203274dffc91cb543d5da13cc
- SHA1:aef5c36ce45bd5c3154a1bb03c62b6cfb33e2bc6 [weak]
- MD5Sum:7ef83228ec207df10acac48fbdd81112 [weak]
Hashes of received file:
- SHA256:e2c7fc5a2d86f75f03612fec614dcf84d3d502976558fbe40928c1dd120bb05e
- SHA1:aef5c36ce45bd5c3154a1bb03c62b6cfb33e2bc6 [weak]
- MD5Sum:7ef83228ec207df10acac48fbdd81112 [weak]
- Filesize:5826751 [weak]
Last modification reported: Thu, 23 Apr 2020 16:40:26 +0000
Release file created at: Thu, 23 Apr 2020 17:33:17 +0000
而其他人的 MD5 相同,但 SHA1 和 SHA256 不同:
E: Failed to fetch http://jp.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-5.4.0-29_5.4.0-29.33_all.deb Hash Sum mismatch
Hashes of expected file:
- SHA256:edde13dcd52c51e2404d37731948d491e6e215b22f599239326809754f8d5633
- SHA1:3e46354d6aaa92f82d5392a80f6b72c3fcc78a91 [weak]
- MD5Sum:4ccf38c666c836f29fc3602314de47b9 [weak]
- Filesize:10936232 [weak]
Hashes of received file:
- SHA256:9af606f85850ba3010ac8743f62dca91bbef3e5e60da5a7df62dac53eb5a4fb7
- SHA1:61c842d896676ac9af0fef9f9f48bc4a3c39cce6 [weak]
- MD5Sum:4ccf38c666c836f29fc3602314de47b9 [weak]
- Filesize:10936232 [weak]
Last modification reported: Thu, 30 Apr 2020 08:23:38 +0000
这个问题类似于这里所问的问题,实际上我尝试了那里(和其他地方)提供的几种解决方案,但它们没有帮助。但是我特别想知道为什么 SHA-1 和 MD5Sum 相同,而只有 SHA256 不同。这是否意味着沿线某处存在安全问题?还是我的系统读取 SHA256 不正确?还有什么?
谢谢