Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

W: Conflicting distribution: http://us.archive.ubuntu.com 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 http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/source/Sources  404  Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/source/Sources  404  Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/source/Sources  404  Not Found [IP: 91.189.91.15 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 http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.91.15 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 google.com. –  Sparhawk Apr 26 '13 at 11:43

1 Answer 1

up vote 0 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

 
discard

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.