Skip to content

Instantly share code, notes, and snippets.

@michaelherold
Created May 22, 2012 02:01
Show Gist options
  • Save michaelherold/2766085 to your computer and use it in GitHub Desktop.
Save michaelherold/2766085 to your computer and use it in GitHub Desktop.
Fixed Apt GPG Key Errors
#!/bin/sh
# This amazing little snippet saved me so much time
# Sourced from http://askubuntu.com/questions/85641
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment