Jaunty..the Public key not available

Asked by John Kelly

Hello its me again,
still having problems with this public key

gn ftp://ftp.mysql.com source/ Sources
Hit ftp://ftp.mysql.com binary/ Packages
Hit ftp://ftp.mysql.com source/ Sources
Fetched 31.2kB in 10s (2855B/s)
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7889D725DA6DEEAA
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 632D16BB0C713DA6
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 28A8205077558DD0
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2ED6BB6042C24D89
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AF0E1940624A220
W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6E871C4A881574DE
W: GPG error: http://deb.opera.com lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 033431536A423791
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: Failed to fetch http://download.skype.com/linux/repos/debian/dists/stable/non-free/binary-amd64/Packages 404 Not Found [IP: 78.141.176.34 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.

thanks in advance

John

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
FactTech
Solved:
Last query:
Last reply:
Revision history for this message
Best FactTech (launchpad-facttechnologies) said :
#1

The warnings you are seeing are from repositories that are maintained separate from the main jaunty repositories (personal package archive/PPA, opera.com, google.com, skype.com). You should be able to download and import keys for these in many cases.

See this link for some instructions on adding the keys you are missing:

http://blog.kovyrin.net/2006/11/28/debian-problem-apt-get-update/

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

simple:

gpg --keyserver keyserver.ubuntu.com --recv <thing here>; gpg --export --armor <thing here> | sudo apt-key add -

Now, the command is NOT complete and WILL NOT WORK as is. What you need to do is read the error, the last 8 characters in each code is to be inserted into the command and executed.

As an example, the first one would be:

gpg --keyserver keyserver.ubuntu.com --recv DA6DEEAA; gpg --export --armor DA6DEEAA | sudo apt-key add -

That command WILL work.

Personally I have this in a script that will take the key as an argument. Here is the script (If you copy / paste to a text file and mark it as executable you can use it like this: getkey DA6DEEAA

On my system it is called getkey but you can name it whatever you wish

Code:

#!/bin/bash

if [ $# -eq 0 ] # Must have key to add
then
  echo "Please supply key"
  exit 65
fi

gpg --keyserver keyserver.ubuntu.com --recv $1
gpg --export --armor $1 | sudo apt-key add -

End Code

Revision history for this message
John Kelly (lioganach) said :
#3

Hello Actionparsnip,
thanks for your help. I think I have made a bit of progress!?
Please check out what I have done
thanks
John

john@abraham-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv 28A8205077558DD0; gpg --export --armor 28A8205077558DD0
gpg: requesting key 77558DD0 from hkp server keyserver.ubuntu.com
gpg: key 77558DD0: public key "Launchpad PPA for GNOME Do Core Team" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.9 (GNU/Linux)

mI0ESXUVdQEEAN8ALfH3wueKsSgDwA/HVEHdB7nlppqGKW/tubvGTy0ayf4M9ylX
45szZK97uL9/UHh5/B7eGMSB45EMJ0/qvTiflS6SwCxRCoKCW1PpYZlVcOLh5UUB
kyREPJZcki1lK7pfxvG9LkYKnvBP89s2PnO5LlDheEsVR4SqDGEtich/ABEBAAG0
JExhdW5jaHBhZCBQUEEgZm9yIEdOT01FIERvIENvcmUgVGVhbYi2BBMBAgAgBQJJ
dRV1AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQKKggUHdVjdCVeAP+ONJt
MFx9MGSJe33YiskagXEG5cQGYdDi5sWWUAP80bP1Qe+Dsnjs3VKQ9ZZW3M8UNXso
FFN501hgJFBwUUCWIRSGZkzVgKoZZtZOe0Dws39xfV//8JFSTe/r0oPzrr10iTFu
pTe/wBR0M9JbKGdY7SvooyqU+W2rf8/LldGx7KE=
=3C2V
-----END PGP PUBLIC KEY BLOCK-----
john@abraham-laptop:~$ sudo apt-key add -
sudo apt-get update
sudo apt-key add
gpg --keyserver keyserver.ubuntu.com --recv 632D16BB0C713DA6; gpg --export --armor 632D16BB0C713DA6

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

I'll give you the full command:

Each one is a line:

gpg --keyserver keyserver.ubuntu.com --recv DA6DEEAA; gpg --export --armor DA6DEEAA | sudo apt-key add -
gpg --keyserver keyserver.ubuntu.com --recv 0C713DA6; gpg --export --armor 0C713DA6 | sudo apt-key add -
gpg --keyserver keyserver.ubuntu.com --recv 77558DD0; gpg --export --armor 77558DD0 | sudo apt-key add -
gpg --keyserver keyserver.ubuntu.com --recv 42C24D89; gpg --export --armor 42C24D89 | sudo apt-key add -
gpg --keyserver keyserver.ubuntu.com --recv 0624A220; gpg --export --armor 0624A220 | sudo apt-key add -
gpg --keyserver keyserver.ubuntu.com --recv 881574DE; gpg --export --armor 881574DE | sudo apt-key add -
gpg --keyserver keyserver.ubuntu.com --recv 6A423791; gpg --export --armor 6A423791 | sudo apt-key add -
gpg --keyserver keyserver.ubuntu.com --recv 7FAC5991; gpg --export --armor 7FAC5991 | sudo apt-key add -

If you compare the codes to your first output it is the last 8 characters of the codes (Like I said). If you run each of those commands you will get the key for each server. I kinda hoped you'd work this out and I wouldnt have to do this but I have to get you going.

Revision history for this message
John Kelly (lioganach) said :
#5

sorry to pester you Actionparsnip
I tried this one
john@abraham-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv 6AF0E1940624A220; gpg --export --armor 6AF0E1940624A220
gpg: requesting key 0624A220 from hkp server keyserver.ubuntu.com
gpg: key 0624A220: public key "Launchpad PPA for TualatriX" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.9 (GNU/Linux)

mI0ESXTUHwEEAMtdNPmcgQcoPN3JcUcRrmdm1chJSmX6gj28OamOgE3Nxp3XgkDd
g/vLFPv6Tk8zIMxQnvuSpuG1YGp3x8atcKlQAlEHncAo27Vlio6pk8jG+qipDBKq
7X7FyXE6X9Peg/k7t7eXMLwH6ZJFN6IEmvPRTsiiQEd/dXRRuIRhPHirABEBAAG0
G0xhdW5jaHBhZCBQUEEgZm9yIFR1YWxhdHJpWIi2BBMBAgAgBQJJdNQfAhsDBgsJ
CAcDAgQVAggDBBYCAwECHgECF4AACgkQavDhlAYkoiC8mAQAmaxr4Kw/R2WZKde7

Thanks I couldnt have done it without you!!!!
hOPEFULLY i HAVE DONE IT!?
THANKS
jOHN
john@abraham-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv DA6DEEAA; gpg --export --armor DA6DEEAA | sudo apt-key add -
gpg: requesting key DA6DEEAA from hkp server keyserver.ubuntu.com
gpg: key DA6DEEAA: "Launchpad PPA for Globalmenu Team" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
[sudo] password for john:
Sorry, try again.
[sudo] password for john:
OK
john@abraham-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv 0C713DA6; gpg --export --armor 0C713DA6 | sudo apt-key add -
gpg: requesting key 0C713DA6 from hkp server keyserver.ubuntu.com
gpg: key 0C713DA6: "Launchpad PPA for Fabien Tassin" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
OK
john@abraham-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv 77558DD0; gpg --export --armor 77558DD0 | sudo apt-key add -
gpg: requesting key 77558DD0 from hkp server keyserver.ubuntu.com
gpg: key 77558DD0: "Launchpad PPA for GNOME Do Core Team" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
OK
john@abraham-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv 42C24D89; gpg --export --armor 42C24D89 | sudo apt-key add -
gpg: requesting key 42C24D89 from hkp server keyserver.ubuntu.com
gpg: key 42C24D89: public key "Launchpad PPA for compiz packagers" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
john@abraham-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv 0624A220; gpg --export --armor 0624A220 | sudo apt-key add -
gpg: requesting key 0624A220 from hkp server keyserver.ubuntu.com
gpg: key 0624A220: "Launchpad PPA for TualatriX" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
OK
john@abraham-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv 881574DE; gpg --export --armor 881574DE | sudo apt-key add -
gpg: requesting key 881574DE from hkp server keyserver.ubuntu.com
gpg: key 881574DE: public key "Launchpad PPA for Bisigi" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
john@abraham-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv 6A423791; gpg --export --armor 6A423791 | sudo apt-key add -
gpg: requesting key 6A423791 from hkp server keyserver.ubuntu.com
gpg: key 6A423791: public key "Opera Software Archive Automatic Signing Key <email address hidden>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
OK
john@abraham-laptop:~$ gpg --keyserver keyserver.ubuntu.com --recv 7FAC5991; gpg --export --armor 7FAC5991 | sudo apt-key add -
gpg: requesting key 7FAC5991 from hkp server keyserver.ubuntu.com
gpg: key 7FAC5991: public key "Google, Inc. Linux Package Signing Key <email address hidden>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
OK
john@abraham-laptop:~$

MfbTPy7O9YoL/NQeThYGwxX6ICVr0IZUj9nxFQ/vtmhZ59p53bpdR8jpPXjdDwjZ
IIlxTf72Fky6Ri3/zsC4YRD6idS4c4L50dTy74W6IabCt8GQLtJy5YASlEp5OGwR
NptRSFxVE59LuOPRo2kvLIAa0Dc=
=3itC
-----END PGP PUBLIC KEY BLOCK-----

this time i didnt do the sudo apt-key add -

am I on the right track!?
and when I pressed exit this time no problem
thanks
John

Revision history for this message
John Kelly (lioganach) said :
#6

thank you for your help!!
John

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Yeah you should be ok now

you are using ALL of the code in the error:

gpg --keyserver keyserver.ubuntu.com --recv 28A8205077558DD0; gpg --export --armor 28A8205077558DD0

is NOT RIGHT

What you should have used is THE LAST 8 CHARACTERS like this:

gpg --keyserver keyserver.ubuntu.com --recv 77558DD0; gpg --export --armor 77558DD0

Which is why the codes I gave worked. You were close but no cigar.

Revision history for this message
John Kelly (lioganach) said :
#8

actionparsnip wrote:
> Your question #73171 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/73171
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> I'll give you the full command:
>
> Each one is a line:
>
> gpg --keyserver keyserver.ubuntu.com --recv DA6DEEAA; gpg --export --armor DA6DEEAA | sudo apt-key add -
> gpg --keyserver keyserver.ubuntu.com --recv 0C713DA6; gpg --export --armor 0C713DA6 | sudo apt-key add -
> gpg --keyserver keyserver.ubuntu.com --recv 77558DD0; gpg --export --armor 77558DD0 | sudo apt-key add -
> gpg --keyserver keyserver.ubuntu.com --recv 42C24D89; gpg --export --armor 42C24D89 | sudo apt-key add -
> gpg --keyserver keyserver.ubuntu.com --recv 0624A220; gpg --export --armor 0624A220 | sudo apt-key add -
> gpg --keyserver keyserver.ubuntu.com --recv 881574DE; gpg --export --armor 881574DE | sudo apt-key add -
> gpg --keyserver keyserver.ubuntu.com --recv 6A423791; gpg --export --armor 6A423791 | sudo apt-key add -
> gpg --keyserver keyserver.ubuntu.com --recv 7FAC5991; gpg --export --armor 7FAC5991 | sudo apt-key add -
>
> If you compare the codes to your first output it is the last 8
> characters of the codes (Like I said). If you run each of those commands
> you will get the key for each server. I kinda hoped you'd work this out
> and I wouldnt have to do this but I have to get you going.
>
> Dear actionparsnip,
I found in Software sources authentication that I have them..... with
your help.
Thank you for your humungous patience and maybe for your realisation
that the chain is only as strong as its weakest link!
John

Revision history for this message
graham (gjchild) said :
#9

I have this same problem. When I try to update using update manager I got the alarm NO_PUBKEY 28A8205077558DD0
which I have rectified using your write up.
However, when I now run update manager it advises 69 updates which it proceeses normally and advises 'last updated less 1hr ago'. But if I check it again it again runs the 69 updates and processes them normally????????
If I try using the terminal the result is shown below:_

graham@graham-desktop:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
graham@graham-desktop:~$

Some assistance with this problem would be greatly appreciated

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

Make sure you don't have stuff like synaptic open as this will cause the lock.

If it still doesn't help, reboot. If you still get problems run:

sudo apt-get clean; sudo fuser -vki /var/lib/dpkg/lock; sudo dpkg --configure -a; sudo apt-get update

That will sort you nicely