GPG error using the update-manager

Asked by millgillo

Binary package hint: firefox-3.0

When I try to use the update manager, the synaptic package manager, or the terminal then I get this error message :

GPG error: http://ppa.lanchpad.net intrepid Release: The following signatures were invalid: NODATA 1 NODATA 2GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 28A8205077558DD0Failed to fetch http://security.ubuntu.com/ubuntu/dists/intrepid-security/Release Unable to find expected entry multivers/source/Sources in Meta-index file (malformed Release file?) Failed to fetch http://ppa.lanchpad.net/do-core/ppa/ubuntu/dists/intrepid/main/binary-i386/Packages.bz2 Sub-process bzip2 returned an error code (2) Some index files failed to download, they have been ignored, or old ones used instead.

This means that I am unable to update my Ubuntu accordingly. How can I get rid of this error? Thank you even now.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: wl
Package: firefox 3.0.14+build2+nobinonly-0ubuntu0.9.04.1
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.28-15-generic i686

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Steve Herrick
Solved:
Last query:
Last reply:
Revision history for this message
millgillo (millgillo) said :
#1
Revision history for this message
Chris Coulson (chrisccoulson) said :
#2

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs .

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

gpg --keyserver subkeys.pgp.net --recv 77558DD0; gpg --export -armor 77558DD0 | sudo apt-key add -

Same with any error like this. Just use the last 8 characters in the code.

Revision history for this message
millgillo (millgillo) said :
#4

Thank you for your effort to resolve my quandary with what I am calling a GPG error. I tried to access the terminal and copied your suggested answer to the terminal and received the following gibberish which I cam unable to translate or decode:

gpg --keyserver subkeys.pgp.net --recv 77558DD0; gpg --export -armor
77558DD0 | sudo apt-key add -

millgillo@ubuntu:~$ gpg --keyserver subkeys.pgp.net --recv 77558DD0; gpg --export -armor
gpg: requesting key 77558DD0 from hkp server subkeys.pgp.net
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)

mI0ESXanRwEEAOTPu1sTcJChTjkA9LkIh6WqiBgPzxNY2p8w18Qt/cE3ev4VyjiI
adZtr+fhC+kuRRQuRinLV+MzeD7Od3uqyR1plc90lqUeLeKJMgXfCoGMmKwng0qD
2gpevIvEEpdlmsRo1hutsyRxAL3o/NfFpovg6dWC27Y1Vwwma8UIL5wXABEBAAG0
K0xhdW5jaHBhZCBQUEEgZm9yIE9wZW5PZmZpY2Uub3JnIFNjcmliYmxlcnOIRgQQ
EQIABgUCSfELVQAKCRCOdOC7YXbF3vutAJ9MObKG5ZqP7PP1xcxnnWCJMbuVFgCg
qG+XOCTAE8OmlhnofJ9vooh+pKeIRgQQEQIABgUCSf9GaAAKCRAVC1z5P+pRYAsK
AKCamb8nOz1dEYwaSZKgpjJmkUsvTACcD+Ze+9xguvDaRaCtXlMigrINEteIRgQQ
EQIABgUCSnL1uwAKCRAwcD8PF3PtSToLAJ48FQiKOGS9GWS8flG8/SDQib1ZzwCe
OqxjmRfZW/ZSX5IvckvQRVRoAwmItgQTAQIAIAUCSXanRwIbAwYLCQgHAwIEFQII
AwQWAgMBAh4BAheAAAoJEGDREhckfRz/4QoEAOJ429PsO5oi1xsnX/lraHACYpHN

I have no idea what this may mean, but any help will be appreciated.

Thanks, millgillo

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

Ok heres the easy way:

http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x28A8205077558DD0

Copy all the text in that link except the top line (Which is bigger than the rest).

run:

gedit ~/key

and paste the text into the file and save the file, close gedit.

You can now run:

sudo apt-key add ~/key; rm ~/key; sudo apt-get update

The error is now gone

PPAs need authorising with GPG keys which you forgot to add, Karmic has a nice way of managing this but if you manually add the repo you must manually add the key too or you will get these errors.

Revision history for this message
millgillo (millgillo) said :
#6

I don't know if the problem is solved. This is what was returned following your instructions:

millgillo@ubuntu:~$ sudo apt-key add ~/key; rm ~/key; sudo apt-get update
gpg: can't open `/home/millgillo/key': No such file or directory
rm: cannot remove `/home/millgillo/key': No such file or directory
Get:1 http://security.ubuntu.com intrepid-security Release.gpg [189B]
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Hit http://ppa.launchpad.net intrepid Release.gpg
Get:2 http://ppa.lanchpad.net intrepid Release.gpg [1036B]
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Get:3 http://security.ubuntu.com jaunty-security Release.gpg [189B]
Ign http://security.ubuntu.com jaunty-security/main Translation-en_US
Get:4 http://security.ubuntu.com intrepid-security Release [51.2kB]
Hit http://ppa.launchpad.net intrepid Release
Get:5 http://ppa.lanchpad.net intrepid/main Translation-en_US [1036B]
9% [5 Translation-en_US bzip2 0] [4 Release 2620/51.2kB 5%] [Waiting for headerbzip2: (stdin) is not a bzip2 file.
Ign http://ppa.lanchpad.net intrepid/main Translation-en_US
Hit http://ppa.launchpad.net intrepid/main Sources
Get:6 http://ppa.lanchpad.net intrepid Release [1036B]
Ign http://ppa.lanchpad.net intrepid Release
Get:7 http://ppa.lanchpad.net intrepid/main Packages [1036B]
85% [7 Packages bzip2 0] [4 Release 44380/51.2kB 86%] [Connecting to archive.ubbzip2: (stdin) is not a bzip2 file.
Err http://ppa.lanchpad.net intrepid/main Packages
  Sub-process bzip2 returned an error code (2)
Get:8 http://security.ubuntu.com jaunty-security Release [49.6kB]
Get:9 http://security.ubuntu.com intrepid-security/main Packages [163kB]
Get:10 http://security.ubuntu.com intrepid-security/restricted Packages [3870B]
Get:11 http://security.ubuntu.com intrepid-security/main Sources [42.5kB]
Get:12 http://security.ubuntu.com intrepid-security/restricted Sources [1149B]
Get:13 http://security.ubuntu.com intrepid-security/universe Packages [65.3kB]
Get:14 http://security.ubuntu.com intrepid-security/universe Sources [11.9kB]
Get:15 http://security.ubuntu.com intrepid-security/multiverse Packages [6737B]
Get:16 http://security.ubuntu.com jaunty-security/main Packages [111kB]
99% [Connecting to archive.ubuntu.com (91.189.88.40)]
Hit http://archive.ubuntu.com jaunty Release.gpg
Ign http://archive.ubuntu.com jaunty/main Translation-en_US
Hit http://archive.ubuntu.com jaunty-updates Release.gpg
Ign http://archive.ubuntu.com jaunty-updates/main Translation-en_US
Hit http://archive.ubuntu.com jaunty Release
Hit http://archive.ubuntu.com jaunty-updates Release
Hit http://archive.ubuntu.com jaunty/main Packages
Hit http://archive.ubuntu.com jaunty-updates/main Packages
Fetched 510kB in 2min 0s (4217B/s)
W: GPG error: http://ppa.lanchpad.net intrepid Release: The following signatures were invalid: NODATA 1 NODATA 2
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/intrepid-security/Release Unable to find expected entry multivers/source/Sources in Meta-index file (malformed Release file?)

W: Failed to fetch http://ppa.lanchpad.net/do-core/ppa/ubuntu/dists/intrepid/main/binary-i386/Packages.bz2 Sub-process bzip2 returned an error code (2)

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

Thanks for writing, millgillo

--- On Mon, 10/5/09, actionparsnip <email address hidden> wrote:

> From: actionparsnip <email address hidden>
> Subject: Re: [Question #84776]: GPG error: http://ppa.lanchpad.net intrepid Release: The following signatures were invalid: NODATA 1 NODATA 2GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 28A8205077558DD0Failed to fetch http://security.ubuntu.com/ubuntu/dists/intrepid-security/Release Unable to find expected entry multivers/source/Sources in Meta-index file (malformed Release file?) Failed to fetch http://ppa.lanchpad.net/do-core/ppa/ubuntu/dists/intrepid/main/binary-i386/Packages.bz2 Sub-process bzip2 returned an error code (2) Some index files failed to download, they have been ignored, or old ones used instead.
> To: <email address hidden>
> Date: Monday, October 5, 2009, 1:58 AM
> Your question #84776 on
> update-manager in ubuntu changed:
> https://answers.edge.launchpad.net/ubuntu/+source/update-manager/+question/84776
>
>     Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Ok heres the easy way:
>
> http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x28A8205077558DD0
>
> Copy all the text in that link except the top line (Which
> is bigger than
> the rest).
>
> run:
>
> gedit ~/key
>
> and paste the text into the file and save the file, close
> gedit.
>
> You can now run:
>
> sudo apt-key add ~/key; rm ~/key; sudo apt-get update
>
> The error is now gone
>
> PPAs need authorising with GPG keys which you forgot to
> add, Karmic has
> a nice way of managing this but if you manually add the
> repo you must
> manually add the key too or you will get these errors.
>
> --
> If this answers your question, please go to the following
> page to let us
> know that it is solved:
> https://answers.edge.launchpad.net/ubuntu/+source/update-manager/+question/84776/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go
> to the
> following page to enter your feedback:
> https://answers.edge.launchpad.net/ubuntu/+source/update-manager/+question/84776
>
> You received this question notification because you are a
> direct
> subscriber of the question.
>

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

Did you make the key file?

gpg: can't open `/home/millgillo/key': No such file or directory

Says you didnt.

The link contains the key you need. Copy it into the file, you can then import it.

Revision history for this message
millgillo (millgillo) said :
#8

I tried to follow your instructions. Here is what was returned: What am I doing wrong?

millgillo@ubuntu:~$ sudo apt-key add ~/key; rm ~/key; sudo apt-get update
[sudo] password for millgillo:
gpg: can't open `/home/millgillo/key': No such file or directory?
rm: cannot remove `/home/millgillo/key': No such file or directory
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Get:1 http://archive.ubuntu.com jaunty Release.gpg [189B]
Ign http://archive.ubuntu.com jaunty/main Translation-en_US
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com jaunty-security Release.gpg
Ign http://security.ubuntu.com jaunty-security/main Translation-en_US
Get:2 http://ppa.lanchpad.net intrepid Release.gpg [1036B]
Hit http://security.ubuntu.com intrepid-security Release
Get:3 http://archive.ubuntu.com jaunty-updates Release.gpg [189B]
Ign http://archive.ubuntu.com jaunty-updates/main Translation-en_US
Hit http://archive.ubuntu.com jaunty Release
Hit http://security.ubuntu.com jaunty-security Release

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

ok we'll do this slowly

press alt+f2
type: gedit ~/key
in the empty file that appers paste this text:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.0.10

mI0ESXUVdQEEAN8ALfH3wueKsSgDwA/HVEHdB7nlppqGKW/tubvGTy0ayf4M9ylX45szZK97
uL9/UHh5/B7eGMSB45EMJ0/qvTiflS6SwCxRCoKCW1PpYZlVcOLh5UUBkyREPJZcki1lK7pf
xvG9LkYKnvBP89s2PnO5LlDheEsVR4SqDGEtich/ABEBAAG0JExhdW5jaHBhZCBQUEEgZm9y
IEdOT01FIERvIENvcmUgVGVhbYi2BBMBAgAgBQJJdRV1AhsDBgsJCAcDAgQVAggDBBYCAwEC
HgECF4AACgkQKKggUHdVjdCVeAP+ONJtMFx9MGSJe33YiskagXEG5cQGYdDi5sWWUAP80bP1
Qe+Dsnjs3VKQ9ZZW3M8UNXsoFFN501hgJFBwUUCWIRSGZkzVgKoZZtZOe0Dws39xfV//8JFS
Te/r0oPzrr10iTFupTe/wBR0M9JbKGdY7SvooyqU+W2rf8/LldGx7KE=
=3C2V
-----END PGP PUBLIC KEY BLOCK-----

(including the lines the start with '---')

save the file and close gedit

in terminal run:
sudo apt-key add ~/key

if it says 'OK' then run:

sudo apt-get update

Revision history for this message
millgillo (millgillo) said :
#10

I'm making mistakes as we go along. One thing I'm doing wrong is that I cannot seem to save the gedit file once I have copied information to it. There is no menu item on my terminal that says "save" nor is there any item called "save" on the keyboard buttons.

Secondly, I am using Opera browser instead of Firefox. That might be the problem.

Other than that I keep getting the message that GPG cannot open millgillo key.

Thanks for your help, millgillo

Revision history for this message
wojox (wojox) said :
#11

Okay go to Applications > Accessories > Text Editor
Copy and paste the information actionparsnip got for you:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.0.10

mI0ESXUVdQEEAN8ALfH3wueKsSgDwA/HVEHdB7nlppqGKW/tubvGTy0ayf4M9ylX45szZK97
uL9/UHh5/B7eGMSB45EMJ0/qvTiflS6SwCxRCoKCW1PpYZlVcOLh5UUBkyREPJZcki1lK7pf
xvG9LkYKnvBP89s2PnO5LlDheEsVR4SqDGEtich/ABEBAAG0JExhdW5jaHBhZCBQUEEgZm9y
IEdOT01FIERvIENvcmUgVGVhbYi2BBMBAgAgBQJJdRV1AhsDBgsJCAcDAgQVAggDBBYCAwEC
HgECF4AACgkQKKggUHdVjdCVeAP+ONJtMFx9MGSJe33YiskagXEG5cQGYdDi5sWWUAP80bP1
Qe+Dsnjs3VKQ9ZZW3M8UNXsoFFN501hgJFBwUUCWIRSGZkzVgKoZZtZOe0Dws39xfV//8JFS
Te/r0oPzrr10iTFupTe/wBR0M9JbKGdY7SvooyqU+W2rf8/LldGx7KE=
=3C2V
-----END PGP PUBLIC KEY BLOCK-----

Now Save as the file and call it key

Then open the Terminal and run
 sudo apt-key add ~/key
Then
sudo apt-get update

Revision history for this message
Best Steve Herrick (estebandido) said :
#12

I can conform millgillo's troubles. Running the apt-get update deletes the "key" file.

What actionparsnip said on 10-04 worked for me.

Revision history for this message
millgillo (millgillo) said :
#13

Yes. The issue is resolved. Thanks for helping. I thought I had entered this response back in October. It was a long time effort that finally worked out with the last entries. I appreciate all that help. millgillo