gpg key installation/update on kubuntu hardy

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
josephj
Posts: 96
Joined: Wed Mar 25, 2009 6:46 pm

gpg key installation/update on kubuntu hardy

Post by josephj »

I have transmission 1.5.2 installed on kubuntu hardy (x86). I have used it for some months and have it in my repositories list.
I have had no problems with it till now. It's great software.

I have the following in /etc/apt/sources.list

# Transmission
deb http://ppa.launchpad.net/transmissionbt/ubuntu hardy main
deb-src http://ppa.launchpad.net/transmissionbt/ubuntu hardy main

When running sudo apt-get update, I get:

W: GPG error: http://ppa.launchpad.net hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 976B5901365C5CA1
W: You may want to run apt-get update to correct these problems
bigbird@sananda:~$

Next, I tried:

Downloaded Release.gpg into ~/temp from your FAQ
Does this need to be renamed or otherwise referenced?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQCVAwUASeYE3pdrWQE2XFyhAQLsFAP/UB6PuA1tX3CHeWBtwcRSQOyUP7mKgSMa
6c4H8eIBAwALb7OT+Ili4O+DciDdLk7HGHF0UUzQcxuZvWGFqTePczk7z5EJAN+D
jtwnJHHavn7Zde51knNTE41rFNM9AWVjNIZlwpTbOHtUDquGxK2ZmTmS/TQpcm8w
YaXIgnBOMrs=
=3HF2
-----END PGP SIGNATURE-----

bigbird@sananda:~/temp$ sudo apt-key add Release.gpg
gpg: no valid OpenPGP data found.

bigbird@sananda:~/temp$ sudo gpg --keyserver keyserver.ubuntu.com --recv 976b5901365c5ca1
gpg: WARNING: unsafe ownership on configuration file `/home/bigbird/.gnupg/gpg.conf'
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error
bigbird@sananda:~/temp$

I checked and this is the only gpg.conf on my system.

bigbird@sananda:~/.gnupg$ ls -l
total 40
-rw-r--r-- 1 bigbird bigbird 50 2009-04-23 12:30 gpg-agent-info-sananda
-rw------- 1 bigbird bigbird 9417 2007-11-01 12:45 gpg.conf
drwx------ 2 bigbird bigbird 4096 2008-02-02 20:46 private-keys-v1.d
-rw------- 1 bigbird bigbird 1168 2008-10-20 13:00 pubring.gpg
-rw------- 1 bigbird bigbird 1168 2008-10-20 12:49 pubring.gpg~
-rw------- 1 bigbird bigbird 600 2008-10-20 13:00 random_seed
-rw------- 1 bigbird bigbird 1317 2008-10-20 12:49 secring.gpg
-rw------- 1 bigbird bigbird 1280 2008-10-20 13:00 trustdb.gpg
bigbird@sananda:~/.gnupg$

bigbird@sananda:~/temp$ gpg --export --armor 976b5901365c5ca1 | sudo apt-key add -
gpg: WARNING: nothing exported
gpg: no valid OpenPGP data found.

How do I fix this?

TIA

Joe
magi182
Posts: 2
Joined: Mon May 04, 2009 1:08 am

Re: gpg key installation/update on kubuntu hardy

Post by magi182 »

I am having the same problem as above.
magi182
Posts: 2
Joined: Mon May 04, 2009 1:08 am

Re: gpg key installation/update on kubuntu hardy

Post by magi182 »

Ummm.... OK. Carefully re-reading the update directions cured me.

You have also to import the GPG signing key for the stable repository. Type in the terminal:

Code: Select all

gpg --keyserver keyserver.ubuntu.com --recv 976b5901365c5ca1
gpg --export --armor 976b5901365c5ca1 | sudo apt-key add -
josephj
Posts: 96
Joined: Wed Mar 25, 2009 6:46 pm

Re: gpg key installation/update on kubuntu hardy

Post by josephj »

The problem seems to have gone away without any action on my part.
But, just to be safe, I ran the commands in the previous post and they completed without error.

Thanks.

Joe
Post Reply