![如何修理故障的镜子?](https://linux22.com/image/1186215/%E5%A6%82%E4%BD%95%E4%BF%AE%E7%90%86%E6%95%85%E9%9A%9C%E7%9A%84%E9%95%9C%E5%AD%90%EF%BC%9F.png)
sources.list
我对我的文件使用 mirrors:// 语法:
deb mirror://mirrors.ubuntu.com/mirrors.txt focal-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt focal main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt focal-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt focal-security main restricted universe multiverse
但最近,有一个镜像一直运行错误的哈希值:
E: Failed to fetch http://mirrors.portafixe.com/ubuntu/archive/dists/focal-updates/restricted/binary-amd64/by-hash/SHA256/62d1b566cf8f5c45def53f37ff0dfc4edaa7cf94f87de14dcfe0207ce4fea506 Hash Sum mismatch
Hashes of expected file:
- Filesize:887780 [weak]
- SHA256:62d1b566cf8f5c45def53f37ff0dfc4edaa7cf94f87de14dcfe0207ce4fea506
- SHA1:f396806d9de01fd941289493542fc77f133d57b0 [weak]
- MD5Sum:ade39adc4d14dfe01b018bcb98bbeee7 [weak]
Hashes of received file:
- SHA256:15c5e0c831cd13f13b975a9db2703f33e95f3363ec16c3ff96fe10b4b501d3cc
- SHA1:24856eff3daf9f1e54844b9b5fe04229b6332687 [weak]
- MD5Sum:2f88f776ebfb50bf60d076f1ca8f7056 [weak]
- Filesize:5315 [weak]
Last modification reported: Mon, 28 Mar 2022 16:00:38 +0000
Release file created at: Mon, 28 Mar 2022 13:12:34 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
它还会返回下载的 deb 文件的错误哈希值。apt(-get) 正确地忽略了它们,但这意味着我必须运行额外的命令(使用 --fix-missing)才能进行升级。
我尝试在 launchpad.net 上向负责该镜像的用户发送消息,但没有收到回复。还有其他人可以联系并尝试修复这个行为不正常的镜像吗?