HOW TO Fix GPG errors for bad/deleted keys
Have you ever encounter the following error on your linux terminal
[php]The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 10101010101010101[/php]
The fix for this is to re-download the keys using the hexidecimal numbers given in the error eg: NO_PUBKEY 10101010101010101
NOTE: Your hexadecimal numbers may be different then mine, so make sure to use the hexadecimals numbers in your error, not mine. “NO_PUBKEY 10101010101010101”
Type this command into the terminal (“Applications > Accessories > Terminal”)
[php]sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys[/php]
And then add the hexadecimal numbers to the command (again, these are my keys from my error. Make sure to use your own):
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 10101010101010101 1001001001001 1000100010001 011011011011 001001001 010101010101