Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to sudo apt-get update and it spits out this errors:

W: Conflicting distribution: precise-updates Release (expected precise-updates but got precise)
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise-updates_main_source_Sources  Hash Sum mismatch

W: Failed to fetch  404  Not Found [IP: 80]

W: Failed to fetch  404  Not Found [IP: 80]

W: Failed to fetch  404  Not Found [IP: 80]

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages  Hash Sum mismatch

W: Failed to fetch  404  Not Found [IP: 80]

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-i386_Packages  Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_binary-i386_Packages  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

Any idea how to fix this?

share|improve this question
Is the P.C behind a firewall which may be blocking the proxies? – Jay Apr 26 '13 at 10:47
yes i was running in a VM – Django Bot Apr 26 '13 at 10:50
how to fix that? – Django Bot Apr 26 '13 at 10:51
You will have to configure the VM to access the Internet. It can get a little tedious. I would suggest to take help of a IT administrator. – Jay Apr 26 '13 at 10:57
Can you then not connect to the internet through the terminal? Try something like ping – Sparhawk Apr 26 '13 at 11:43
up vote 1 down vote accepted

If you are using Virtual PC then go to Tools/Settings on the left you will see two columns setting and current Value. Go to the Networking setting.. On the right you are now able to choose your Adapter. Open drop-down and choose your Adapter. should be the name of your Ethernet Port something like Broadcom Gigabit Ethernt etc. After that you should be able to get updates.

Hope this helps :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.