Archive for August, 2009

when trying to apt-get update i got this error message :-
W: There is no public key available for the following key IDs xxxxxxxxxxxx
this problem was caused by change of gpg key used by ftpmaster on Debian official repository servers. Google gave me some information and I found some fix which works fine for me:
error :
W: There is no public key available for the following key IDs:
9AA38DCD5512345678
W: GPG error:
http://ftp.us.debian.org etch Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9AA38DCD5512345678
W: You may want to run apt-get update to correct these problems
DO!
find out invalid key. its 8 digits string from the right in my case my key id is 12345678
check the key id with
#apt-key list
find out if its there on not. the format should be xxxxx/our-key
if you found one then
#apt-get update
if not?
#gpg -a –export (error keyid here) | sudo apt-key add –
#apt-key update
#apt-key list
then try to apt-get update again
its work for me..

Advertisements

GPG Key error upon aptitude update

Posted: August 6, 2009 in Debian

The error message looks like :

W: GPG error: http://security.debian.org etch/updates Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE402B

Solution:-

as root

#gpg –keyserver subkeys.pgp.net –recv-keys 9AA38DCD55BE402B

we will get this message

gpg: directory `/root/.gnupg’ created
gpg: can’t open `/gnupg/options.skel’: No such file or directory
gpg: keyring `/root/.gnupg/secring.gpg’ created
gpg: keyring `/root/.gnupg/pubring.gpg’ created
gpg: requesting key 55BE402B from hkp server subkeys.pgp.net

gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 55BE402B: public key “Debian Archive Automatic Signing Key (5.0/lenny) ” imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

next do:-

#gpg –armor –export 55BE302B | apt-key add –

then try aptitude update again