![在 Jammy 上使用 apt 时重复出现哈希问题](https://linux22.com/image/1028615/%E5%9C%A8%20Jammy%20%E4%B8%8A%E4%BD%BF%E7%94%A8%20apt%20%E6%97%B6%E9%87%8D%E5%A4%8D%E5%87%BA%E7%8E%B0%E5%93%88%E5%B8%8C%E9%97%AE%E9%A2%98.png)
# apt update
...
E: Failed to fetch store:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_jammy-security_universe_binary-amd64_Packages.xz
E: Failed to fetch store:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_jammy-updates_main_binary-amd64_Packages.xz Hash Sum mismatch
Hashes of expected file:
- Filesize:3842515 [weak]
- SHA256:0faa1d52c63b422f9413ceb4e501e0faee7cc307c02a07a0e72e373537cbc9b2
- SHA1:524075b6694a5a0b40cddd77e34d387910594a2b [weak]
- MD5Sum:908ad587d123e8ff833cf6e30eeaf382 [weak]
Hashes of received file:
- SHA256:605fb7c7aef876dd40b0195aa9c26df7d9396620c0ad0d69c9b01cb0b8d927b7
- SHA1:524075b6694a5a0b40cddd77e34d387910594a2b [weak]
- MD5Sum:908ad587d123e8ff833cf6e30eeaf382 [weak]
- Filesize:3842515 [weak]
Last modification reported: Thu, 17 Nov 2022 15:27:28 +0000
Release file created at: Thu, 17 Nov 2022 17:51:23 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
apt-get 上的“--fix-missing”也不能解决这个问题。这是一个已知问题吗?或者是否有已知的解决方案来重新开始哈希?
答案1
解决方案等待了 2 天。显然,有人在上游修复了这个问题。