Created
January 6, 2016 15:44
-
-
Save pgaref/4ac9a693965fcdc961f9 to your computer and use it in GitHub Desktop.
Ubuntu expired apt-get keys FIX
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
#To find any expired repository keys and their IDs, use apt-key as follows: | |
apt-key list | grep expired | |
#You will get a result similar to the following: | |
pub 4096R/BE1DB1F1 2011-03-29 [expired: 2014-03-28] | |
#The key ID is the bit after the / i.e. BE1DB1F1 in this case. | |
#To update the key, run | |
sudo apt-key adv --recv-keys --keyserver keys.gnupg.net BE1DB1F1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment