Under Ubuntu, after setting the/etc/apt/sources.list, run
sudo apt-get update
, if you encounter an error like this:
Ign http://us.archive.ubuntu.com raring-backports/restricted translation-en_us Ign http:// Us.archive.ubuntu.com raring-backports/universe translation-en_us Fetched 166 kB in 32s (5,075 b/s) w: failed to fetch bzip2:/var/lib/apt/lists/partial/ Extras.ubuntu.com_ubuntu_dists_raring_main_binary-i386_packages hash sum mismatch W: failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_ Raring_universe_source_sources hash sum mismatch W: failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_raring_main_binary-i386_packages hash sum mismatch w: failed to fetch bzip2:/var/lib/apt/lists/ partial/us.archive.ubuntu.com_ubuntu_dists_raring_universe_binary-i386_packages hash sum Mismatch E:  Some index files failed to download. they have been ignored, or old ones used instead.
, view the last normal output is
IGN http://us.archive.ubuntu.com Raring-backports/universe Translation-en_us
, it's OK to comment out the Raring-backports/universe related content in the/etc/apt/sources.list file, such as the following two lines: Deb http://mirrors.163.com/ubuntu/ Raring Universe Deb-src Http://mirrors.163.com/ubuntu/raring Universe commented out (first comment out the following line, continue, no words and then comment out the first line), you can