Ubuntu 10.04 - apt-get update fail

6 posts / 0 new
Last post
#1 Thu, 09/09/2010 - 15:38
theashman

Ubuntu 10.04 - apt-get update fail

Hi all,
When trying to update my server (either by apt-get or via virtualmin interface):


Reading package lists... Done
W: GPG error: http://software.virtualmin.com virtualmin-lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9
W: GPG error: http://software.virtualmin.com virtualmin-universal Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9

Thu, 09/09/2010 - 15:50
andreychek

Howdy,

When did that start happening?

Is this a new install, or had it been working in the past?

And you didn't by chance upgrade from a previous Ubuntu version did you?

Thanks,

-Eric

Thu, 09/09/2010 - 15:53
theashman

Hi Eric, This was a fresh installation of Virtualmin on Ubuntu.

As far as I remember, it's been happening since the 3.80 release was available. I think it worked before, but I really cannot be certain.

The server was also a fresh install.

Thanks, Ash

Thu, 09/09/2010 - 16:51
andreychek

Howdy,

What happens if you do the following:

wget http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin
wget http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin
apt-key add RPM-GPG-KEY-virtualmin
apt-key add RPM-GPG-KEY-webmin

That would re-import the GPG keys... after doing that, try running the apt-get update again.

-Eric

Sat, 09/11/2010 - 06:30
theashman

Hi Eric, It seems that reimporting the GPG Keys sorted the problem out. I wonder why the keys were removed in the first place.

Many thanks, Ash

Tue, 11/30/2010 - 20:53 (Reply to #5)
linuxtuts

Thanks Mates,

Here is a little better formatted version for the solution....

wget 'http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin' ; wget 'http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin' ; apt-key 'http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin' ; apt-key add RPM-GPG-KEY-virtualmin ; apt-key add RPM-GPG-KEY-webmin ; done

Topic locked