Skip to content

Instantly share code, notes, and snippets.

@usufu
Last active December 23, 2015 16:09
Show Gist options
  • Save usufu/6659765 to your computer and use it in GitHub Desktop.
Save usufu/6659765 to your computer and use it in GitHub Desktop.
Resolve the GPG error when apt-get update
gpg --keyserver subkeys.pgp.net --recv 40976EAF437D05B5
gpg --export --armor 40976EAF437D05B5 | sudo apt-key add -
http://forum.ubuntu.org.cn/viewtopic.php?t=378189
@usufu
Copy link
Author

usufu commented Sep 29, 2013

gpg --keyserver-options http-proxy --keyserver keyserver.ubuntu.com --recv 40976EAF437D05B5

@usufu
Copy link
Author

usufu commented Apr 22, 2014

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3C962022012520A0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment