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

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

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

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


then this:

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