困扰了多天的VMware中Ubuntu的apt-get update错误(Some index files failed to download. They have been ignored, o)

终于解决了,附上完成的胜利图,✌。(大家多试,总有一个办法可以解决的,加油)
困扰了多天的VMware中Ubuntu的apt-get update错误(Some index files failed to download. They have been ignored, o)_第1张图片
解决方案!!!!!!!!!!!!!!!

问题:
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/ppa.launchpad.net_webupd8team_java_ubuntu_dists_precise_main_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.

解决方法:
sudo rm -rf /var/lib/apt/lists/*
sudo rm -rf /var/lib/apt/lists/partial/*
sudo apt-get clean
sudo apt-get update
sudo apt-get update -o Acquire::No-Cache=True
sudo apt-get update -o Acquire::BrokenProxe=True
sudo rm -vf /var/lib/apt/lists/*

如果以上均无法解决,建议换源

参考如下:
http://blog.sina.com.cn/s/blog_60f19826010178xh.html

其他解决方法链接!!!!!!!!!!!!!!!!!!!!!!!
https://forum.ubuntu.org.cn/viewtopic.php?t=448130

你可能感兴趣的:(杂七杂八)