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

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

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

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

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

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