![无法升级到 Ubuntu 18.04:无法获取 http://np.archive.ubuntu.com/ubuntu/dists/bionic/universe/dep11/icons-64x64.tar.gz](https://linux22.com/image/899940/%E6%97%A0%E6%B3%95%E5%8D%87%E7%BA%A7%E5%88%B0%20Ubuntu%2018.04%EF%BC%9A%E6%97%A0%E6%B3%95%E8%8E%B7%E5%8F%96%20http%3A%2F%2Fnp.archive.ubuntu.com%2Fubuntu%2Fdists%2Fbionic%2Funiverse%2Fdep11%2Ficons-64x64.tar.gz.png)
尝试升级到 ubuntu 18.04 LTS 时出现此错误
E: Failed to fetch http://np.archive.ubuntu.com/ubuntu/dists/bionic/universe/dep11/icons-64x64.tar.gz
Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
您需要删除 的所有内容/var/lib/apt/lists directory:
。尝试结合以下两个命令:
sudo rm -rf /var/lib/apt/lists/*
进而
sudo apt-get update
这应该可行。