How to a missing gpg key for apt-get on Debian
If you get this warning
W: There are no public key available for the following key IDs:
A70DAF536070D3A1
when you run "apt-get update" under Debian Etch (testing) then...
try these commands to install the right key
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys A70DAF536070D3A1
gpg --armor --export A70DAF536070D3A1 | sudo apt-key add -
apt-get update
ie...
server:/# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys
A70DAF536070D3A1
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys A70DAF536070D3A1
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf'
created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are
not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 6070D3A1 from hkp server wwwkeys.eu.pgp.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 6070D3A1: public key "Debian Archive
Automatic Signing Key (4.0/etch) <ftpmaster@debian.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:
imported: 1
server:/# gpg --armor --export A70DAF536070D3A1 |
sudo apt-key add -
OK





Comments
apt-key update
not work? blindly importing keys somewhat defeats the whole purpose of having signed packages.
Posted by Nathan Kidd At 03:56:07 PM On 23/01/2007 | - Website - |