PDA

View Full Version : [ubuntu] No_pubkey, I thought I knew how to do this



lindsay7
April 8th, 2009, 05:41 AM
Solved, I changed permissions on the file /.gnupg/pubring.gpg from root to username (me)



I am getting this error when I try to add a key. Can someone tell me what I need to do.


stevepoulton@stevepoulton-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv 60D11217247D1CFF
gpg: requesting key 247D1CFF from hkp server keyserver.ubuntu.com
gpg: can't open `/home/stevepoulton/.gnupg/pubring.gpg'
gpg: keydb_get_keyblock failed: eof
gpg: no writable keyring found: eof
gpg: error reading `[stream]': general error
gpg: Total number processed: 0
stevepoulton@stevepoulton-laptop:~$


Now I am getting this error when I try to fix this,

chown: cannot access `/home/stevepoulton/.gnupg/pubring.conf': No such file or directory

garyedwardjohnston
April 28th, 2009, 10:19 PM
in terminal try this:


http://cultoffree.wordpress.com/2009/02/03/w-gpg-errorno_pubkey-60d11217247d1cff-wtf/

then this:


gpg --export --armor 60D11217247D1CFF | sudo apt-key add -