Created
December 1, 2015 19:31
-
-
Save vordan/8117d765d0d74ff84dd9 to your computer and use it in GitHub Desktop.
Repair apt-get update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -r /var/lib/apt/lists | |
sudo mkdir -p /var/lib/apt/lists/partial | |
sudo apt-get clean | |
sudo apt-get update | |
sudo apt-key list | grep expired | |
Get the key to use from that result: | |
pub 4096R/BE1DB1F1 2011-03-29 [expired: 2014-03-28] | |
sudo apt-key adv --recv-keys --keyserver keys.gnupg.net BE1DB1F1 | |
sudo apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment