Ubuntu Issue: Clean install of Ubuntu 12.04.5 creates unusable apt due to hash mismatch
See original GitHub issueHorrible upstream issue with Ubuntu 12.04.5 - if you install it from the iso, apt-get update
just doesn’t work!! For example:
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages Hash Sum mismatch
This is a very irritating problem and it happens with the canonical (literally) server us.archive.ubuntu.com
. Clearly it needs to be fixed on their end. A workaround is to boot the VM and run:
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
sync
sudo shutdown -h now
update via @dino74 : Launchpad bug (and possible diagnosis/fix recommendation) at: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1430648
Issue Analytics
- State:
- Created 9 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
apt - Trouble downloading packages list due to a "Hash sum ...
I had just recently install Ubuntu 17.10 and was getting the same error of Hash Sum Mismatch for a some repository.I went to...
Read more >Fix apt on Ubuntu 12.04.5 to prevent hash mismatch errors
sudo mkdir /var/lib/apt/lists/partial. sudo apt-get clean. sudo apt-get update. sudo dpkg --clear-avail. sudo dpkg --configure -a. sudo apt-get install -f.
Read more >Fixing Ubuntu Update Error: Troubleshoot Guide by It's FOSS
Update errors are common and plenty in Ubuntu and other Linux distributions based on Ubuntu. Here are some common Ubuntu update errors and...
Read more >Ubuntu Server Documentation
This chapter provides an overview of installing Ubuntu Server Edition. There is more detailed documentation on other installer topics. Preparing to Install.
Read more >How do you fix apt-get update "Hash Sum mismatch"
To do this, first run apt-get clean followed by rm -rf /var/lib/apt/lists/* . Next, run apt-get update . This will re-download all the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For reproducibility sake - I have compiled mininet from source whenever the apt manager did not have a compatible copy and that seemed to always work thus far.
Although personally I’d like Ubuntu 12 to still be usable for reproducing legacy experiments, I agree that current Mininet does not support Ubuntu 12, so we can close this.