I have an Ubuntu 12.04 virtual box vm that I instantiate using Vagrant. git clone https://github.com/spuder/puppet-gitlabvagrant upAs soon as the vagrant box runs apt-get update, I get the following error. ...W: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_precise_main_binary-amd64_Packages  Hash Sum mismatchW: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_precise_main_binary-i386_Packages  Hash Sum mismatchW: Failed to fetch gzip:/var/lib/apt/lists/partial/apt.puppetlabs.com_dists_precise_dependencies_binary-i386_Packages  Hash Sum mismatchW: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-i386/Packages  404  Not FoundThings I've tried to work around this error. Used 3 different ubuntu 12.04 boxes from 'http://www.vagrantbox.es'solution suggested here:   sudo rm -rf /var/lib/apt/lists/*sudo apt-get updatesudo apt-get cleanRemoved and readded the puppet labs packagesI've also tried similar suggestions that I've found in the first few pages of google. I've even tried multiple computers, and multiple internet connections. The fact that this has affected multiple ubuntu vm's on multiple internet connections makes me think there is something wrong with the ubuntu repo. How else can I try to fix this issue? Update I tried cleaning out '/var/lib/apt/lists/partial' and running apt-get clean then replaced the sources in /etc/sources/list by using the amazon mirrors suggested here: I still get a similar errorFetched 18.9 MB in 10s (1,865 kB/s)                                                                                                                                                                            W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-west-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages  Hash Sum mismatchW: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-west-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages  Hash Sum mismatchW: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-west-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-amd64_Packages  Hash Sum mismatchW: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-west-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages  Hash Sum mismatchE: Some index files failed to download. They have been ignored, or old ones used instead.Update2 I have 2 internet connections at home, both of them gave the same error. As soon as I took my laptop to my work internet connection, the problem went away. I'm still curious to understand why my internet connection would make any difference. Update3 See my answer below for an explanation. My internet filter was corrupting the download. I'll rephrase the question since there are no answers yet. Is there a way to override Hash Sum mismatches in apt-get?
How do you fix apt-get update Hash Sum mismatch
ubuntu;apt
Figured it out. My two computers are identical in every way except on my personal computer I installed an internet filter. The k9 internet filter installed a kernel extension that apparently messes with the traffic. As soon as I uninstalled the filter, the problem went away. I'm still researching if there is any way to make apt-get update ignore Hash sum mismatches as a workaround. 