尝试升级到 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
这应该可行。