Friday, December 31, 2010

W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available:

After some paranoiac permission setting in my home folder I wanted to update repository and received error:
root@zzz:~# aptitude update

Hit http://ru.archive.ubuntu.com maverick-updates/multiverse amd64 Packages
Fetched 2,952B in 17s (167B/s)
W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0EE1BF5F3C8E2A7F


root@zzz:~/.gnupg# gpg --fingerprint
gpg: WARNING: unsafe ownership on configuration file `/home/sss/.gnupg/gpg.conf'
but
sss@zzz:~$ gpg --keyserver keyserver.ubuntu.com --recv 0EE1BF5F3C8E2A7F
gpg: requesting key 3C8E2A7F from hkp server keyserver.ubuntu.com
gpg: key 3C8E2A7F: public key "Launchpad deadbeef" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

root@zzz:~# chown root:root .gnupg/*
root@zzz:~# gpg --fingerprint
/home/sss/.gnupg/pubring.gpg
----------------------------
pub 1024R/3C8E2A7F 2010-05-10
Key fingerprint = C9C3 199F A4D2 FEEE B2E7 1C18 0EE1 BF5F 3C8E 2A7F
uid Launchpad deadbeef

so aptitude update now works!

No comments:

Post a Comment