Skip to content

Instantly share code, notes, and snippets.

@haeramkeem
Last active April 11, 2022 02:10
Show Gist options
  • Save haeramkeem/cfae6f9c38c90b218e176aaccdaa3532 to your computer and use it in GitHub Desktop.
Save haeramkeem/cfae6f9c38c90b218e176aaccdaa3532 to your computer and use it in GitHub Desktop.
Fixing `apt-get update` checksum mismatch problem
#!/bin/bash
# Source of this solution: https://askubuntu.com/a/1242739
sudo su -
mkdir /etc/gcrypt
echo all >> /etc/gcrypt/hwf.deny
apt-get update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment