unable to update public key

Asked by crew99advisor@hotmail.com

I am having trouble with a public key with Ubuntu. I attempt to update my packages and get:

W: GPG error: http://archive.ubuntu.com lucid-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: GPG error: http://archive.ubuntu.com lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: GPG error: http://security.ubuntu.com lucid-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5

I have tried (in line with a previous similar issue -- Question #107523 ):

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
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 --keyring /etc/apt/trusted.gpg.d/secring.gpg --keyring /etc/apt/trusted.gpg.d/trustdb.gpg --keyring /etc/apt/trusted.gpg.d/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <email address hidden>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

This appears to me to be different than Question #192353, where the problem involved installing Spotify.
I have tried, as well, a few permutations of:

sudo apt-get update
sudo apt-get upgrade

to no avail.

Any ideas?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
crew99advisor@hotmail.com
Solved:
Last query:
Last reply:

This question was reopened

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

What is the output of :

lsb_release -a; uname -a

Thanks

Revision history for this message
crew99advisor@hotmail.com (crew99advisor) said :
#2

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid
$ uname -a
Linux junger-desktop 2.6.32-52-generic #114-Ubuntu SMP Wed Sep 11 18:50:27 UTC 2013 x86_64 GNU/Linux

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

Lucid is no longer supported in any way. I suggest you reinstall with Trusty. Trusty is LTS and supported til April 2019.

Revision history for this message
crew99advisor@hotmail.com (crew99advisor) said :
#4

I tried downloading & upgrading to 12.xx when it came out - very slow over my connection - and had some issues with it that I attributed to the older hardware I'm using. I had to go back and re-install Lucid & restore all my files. (A Gateway DX4200-09) I may have to get the CD for 14.04 & try again.

Thanks.

Revision history for this message
crew99advisor@hotmail.com (crew99advisor) said :
#5

Thanks actionparsnip, that solved my question.

Revision history for this message
crew99advisor@hotmail.com (crew99advisor) said :
#6

Well, I spoke/typed too quickly.
I tried to upgrade 10.04 to 14.04 - there is no way to do that which I have found on any of the Ubuntu/Linux pages. One must upgrade to 12.04 Precise first.

So I went to upgrade to 12.04 Precise. Guess what? The very same error shows up:

W:GPG error: http://security.ubuntu.com precise-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF37D05B5

It occurs with:
security.ubuntu.com precise-security,
archive.ubuntu.com precise,
us.archive.ubuntu.com precise-security,
us.archive.ubuntu.com precise-updates,
us.archive.ubuntu.com precise-proposed
and
us.archive.ubuntu.com precise-backports

Any further suggestions?

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

What is the output of

ls -l /etc/apt/trust*

Revision history for this message
crew99advisor@hotmail.com (crew99advisor) said :
#8

I got impatient and found this work-around:

1) download the alternate iso of 12.04.4
2) burn it to a DVD
3) copy /home/* to an external HD for safety
4) boot the DVD & load 12.04.4 from there

From what I can tell so far, I have not lost anything in home/*

It took me another 24 hours of downloading, burning, copying, etc. but we're up & running at this point.

Thanks.