PDA

View Full Version : [ubuntu] wicd: GPG error after upgrade - NO_PUBKEY



serimp
September 30th, 2008, 07:23 AM
I'm running 8.04 hardy with wicd; a few days ago the update manager caused the wicd upgrade to 1.5.3. The upgrade asked for the permission to overwrite some files, but in that moment I was too busy to annotate the file names :D

Now all work fine, but when I try 'apt-get update' I receive a GPG error saying that there is NO_PUBKEY FEC820F4B8C0755A. In /etc/apt/sources.list I have deb http://apt.wicd.net hardy extras.

I also tried the command gpg --keyserver subkeys.pgp.net --recv-keys FEC820F4B8C0755A, but the response was:

gpg: requesting key B8C0755A from hkp server subkeys.pgp.net
gpgkeys: key FEC820F4B8C0755A not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

Any help? Thanks in advance.
Sergio

serimp
September 30th, 2008, 11:12 PM
I was able to find how to solve the problem by myself, and I annotate here what I have done, as it seems that there are many people looking for a solution,

Starting from the web page http://apt.wicd.net/ click the link on the phrase

'GPG signatures:The key used for signing is B8C0755A'

on the right side of the page. A new page appears with the public key that is needed to validate the wicd apt source. Cut the content of the page and paste it in a file. It is necessary to cut and paste the full content of the page, including the starting line:

-----BEGIN PGP PUBLIC KEY BLOCK-----

and the ending line:

-----END PGP PUBLIC KEY BLOCK-----

Once the file is created, launch Synaptic package Manager, select the menu Setting/Repository, activate the tab Authentication and press the 'Import Key File' button. This let to select the file and import the public key. That's all! :D

Sergio

timking
October 1st, 2008, 02:46 AM
Sergio,

Thank you - I was seeing the same problem.

serimp
October 1st, 2008, 06:44 AM
Timking,
I am glad you solved after reading my post; however, in this forum other people suggest an easiest solution:

wget -q http://apt.wicd.net/wicd.gpg -O- | sudo apt-key add -

Sergio

zvacet
October 1st, 2008, 07:30 AM
gpg --keyserver hkp://subkeys.pgp.net --recv-keys FEC820F4B8C0755A
gpg --export --armor FEC820F4B8C0755A | sudo apt-key add -

Chemist
October 3rd, 2008, 09:43 AM
Thanks guys, I was getting the same error

AJB2K3
May 21st, 2009, 05:27 PM
I was able to find how to solve the problem by myself, and I annotate here what I have done, as it seems that there are many people looking for a solution,

Starting from the web page http://apt.wicd.net/ click the link on the phrase

'GPG signatures:The key used for signing is B8C0755A'

on the right side of the page. A new page appears with the public key that is needed to validate the wicd apt source. Cut the content of the page and paste it in a file. It is necessary to cut and paste the full content of the page, including the starting line:

-----BEGIN PGP PUBLIC KEY BLOCK-----

and the ending line:

-----END PGP PUBLIC KEY BLOCK-----

Once the file is created, launch Synaptic package Manager, select the menu Setting/Repository, activate the tab Authentication and press the 'Import Key File' button. This let to select the file and import the public key. That's all! :D

Sergio

Thanks solved it for me.