我刚刚安装了 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