Tuesday, May 23, 2017

updates - How to fix missing GPG keys?

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

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...