Last active
January 9, 2017 08:52
-
-
Save TomCan/b88afca8f2d4f1131f50d6b031280319 to your computer and use it in GitHub Desktop.
Add apt keys NO_PUBKEY error
This file contains hidden or 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
| for KEY in ABCDEFGHIJKLMN | |
| do | |
| gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv $KEY | |
| gpg --export --armor $KEY | apt-key add - | |
| done | |
| # oneliner | |
| for KEY in ABCDEFGHIJKLMN; do gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv $KEY; gpg --export --armor $KEY | apt-key add -; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment