I have just installed Ubuntu 12.04 and I added some repo, and when I did apt-get update
, I got missing gpg key.
Following command seems to doesn't work for me:
apt-get update 2> /tmp/keymissing; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //"); do echo -e "\nProcessing key: $key"; gpg --keyserver subkeys.pgp.net --recv $key && sudo gpg --export --armor $key | apt-key add -; done
How to fix this problem?
No comments:
Post a Comment