Maverick: Installing Extras from livecd fails to import gpg pubkey

Bug #645110 reported by philinux
80
This bug affects 17 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

After a clean install and performing updates the following error occurs.

Err http://extras.ubuntu.com maverick Release

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192

Solution is easy if you a very familiar to ubuntu.
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192

Revision history for this message
fuggum (fuggum) wrote :

same issue after installation. if we can't get the fix incorporated into the release, could we at least get instructions for adding the repo and key on the home page of http://extras.ubuntu.com ?

Revision history for this message
Tom van den Broek (tom69-ubuntu) wrote :

I did an upgrade from karmic to Maverick. With this bug as a result.

I did the easy step with following result:

tom@tom-laptop:~$ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg: requesting key 3E5C1192 from hkp server keyserver.ubuntu.com
gpgkeys: HTTP fetch error 7: couldn't connect to host
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

Repeated the trick with several other keyservers with the same result. What is happening?

Revision history for this message
David Guest (david-guest) wrote :

The workaround works for me thanks.

@tinytom - you need to run this with elevated privs. prepend "sudo" or elevate with su first.

Revision history for this message
Chris Samuel (chris-csamuel) wrote :

There is another LP bug which is worth tracking (#645436) on this issue; it's about the creation of the "ubuntu-extras-keyring" package which is meant to provide this missing GPG key.

https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/645436

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Works if I install the ubuntu-extras-keyring package, so marking as a duplicate.

Revision history for this message
infurnus (axemaninferno) wrote :

I'm receiving this error and ubuntu-extras-keyring v 2010.09.27 IS installed. I attempted to reinstall but it still fails.

+ I installed maverick to disk with updates and enable repo from the Maverick LiveCD

After installing and rebooting doing an update yields:

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DB141E2302FDF932

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/Release

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

infurnus@anon:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg: requesting key 3E5C1192 from hkp server keyserver.ubuntu.com
gpg: key 3E5C1192: "Ubuntu Extras Archive Automatic Signing Key <email address hidden>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

It's already installed and I am still receiving this message.

Revision history for this message
infurnus (axemaninferno) wrote :

Fixed. I had a different key missing. I recently discovered you can use the last 8 chars of the key that the error yields.

infurnus@anon:~$ sudo gpg –keyserver keyserver.ubuntu.com –recv 02FDF932
gpg: WARNING: unsafe ownership on configuration file `/home/infurnus/.gnupg/gpg.conf'
usage: gpg [options] [filename]
infurnus@anon:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 02FDF932
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 02FDF932
gpg: requesting key 02FDF932 from hkp server keyserver.ubuntu.com
gpg: key 02FDF932: public key "Launchpad Application Review Board PPA" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

The key I was missing was NO_PUBKEY DB141E2302FDF932

Revision history for this message
andreika73 (andreika73) wrote :

To infurnus. I had the above problem with a couple of keys in 11.04 Natty version. Tried your steps and it worked just fine! Thanks a million! I am just so glad there are guys like you who can actually figure things out before it is fixed officially! Happy New Year to you if you get it beforehand!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.