question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ubuntu Issue: Clean install of Ubuntu 12.04.5 creates unusable apt due to hash mismatch

See original GitHub issue

Horrible 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:closed
  • Created 9 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
janev94commented, Nov 19, 2022

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.

0reactions
lantzcommented, Nov 19, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found