![更新时出现“哈希总和不匹配”错误](https://linux22.com/image/1142189/%E6%9B%B4%E6%96%B0%E6%97%B6%E5%87%BA%E7%8E%B0%E2%80%9C%E5%93%88%E5%B8%8C%E6%80%BB%E5%92%8C%E4%B8%8D%E5%8C%B9%E9%85%8D%E2%80%9D%E9%94%99%E8%AF%AF.png)
我刚刚安装了 16.04 LTS。但是我无法更新。
$ sudo apt-get update
Fetched 34,3 MB in 1h 51min 52s (5.110 B/s)
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-i386/by-hash/SHA256/e145fc3961ba6091b075afe8b3a89a5f58e1346b7d6cb0a1f4166dfcc3201392 Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
我尝试了很多方法,但都没有用。我尝试了以下解决方案由于“哈希值不匹配”错误,无法下载软件包列表,但是并没有解决问题。
答案1
要消除此错误,请按键盘快捷键Ctrl+ Alt+T打开终端窗口。
然后在终端中逐个输入以下命令:
sudo rm -rf /var/lib/apt/lists/*
sudo apt clean
sudo apt update