我正在使用 ubuntu 12.04,更新时遇到问题

我正在使用 ubuntu 12.04,更新时遇到问题
Fetched 1 B in 34s (0 B/s)
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/ubuntu.qualitynet.net_ubuntu_dists_precise-backports_universe_source_Sources  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
anurag@hanuman:~$ sudo apt-get dist-upgrade  

答案1

由于更新存储库时缺少某些数据,导致哈希值不匹配错误。在更新存储库之前,请尝试以下命令,

sudo rm -fR /var/lib/apt/lists/*

然后运行,

sudo apt-get update

相关内容