gpg --keyserver pgpkeys.mit.edu --recv-key insert_key_here
gpg -a --export insert_key_here | sudo apt-key add -
source: https://help.ubuntu.com/community/SecureApt
UPDATE:
another solution:
Source: https://wiki.hackzine.org/sysadmin/debian-register-apt-repo-key.html
ANOTHER UPDATE:
above didnt work with error message:
gpg: keyserver receive failed: No keyserver available
gpg: WARNING: nothing exported
gpg: no valid OpenPGP data found.
so another try:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
which eventually workedNot sure what happened as the first command used to work for me in the past.
No comments:
Post a Comment