sudo apt-get update
hi~ 小伙伴们,如果大家sudo apt-get update 遇到一大片这类错误,
W: Failed to fetch http://ubuntu.cn99.com/ubuntu/dists/precise-updates/InRelease W: Failed to fetch http://ubuntu.cn99.com/ubuntu/dists/precise-security/InRelease W: Failed to fetch http://ubuntu.cn99.com/ubuntu/dists/precise-backports/InRelease W: Failed to fetch http://ubuntu.cn99.com/ubuntu/dists/precise/main/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/ubuntu.cn99.com_ubuntu_dists_precise_main_i18n_IndexW: Failed to fetch http://ubuntu.cn99.com/ubuntu/dists/precise/multiverse/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/ubuntu.cn99.com_ubuntu_dists_precise_multiverse_i18n_Index
解决方法如下:
1、方法一(csdn大众解决方法)
sudo rm -rf /etc/apt/sources.list.d/*
sudo rm -rf /var/lib/apt/lists/*
如果你更换了匹配的源,并且csdn上各种方法都无果,那就不要再尝试,请继续看下文…
2、方法二
按照csdn上各种方法尝试后无果, 那就不要尝试了[呲牙],它的根源不是源或者其他问题,而是受域网限制的影响,连个wifi 热点换个网就解决了[憨笑]