Recently, my apt-get update
s started failing with:
W: GPG error: http://www.getautomatix.com edgy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CC919A31E23C5FC3 W: You may want to run apt-get update to correct these problems
This was easily fixed with:
$ gpg --keyserver subkeys.pgp.net --recv CC919A31E23C5FC3 gpg: requesting key E23C5FC3 from hkp server subkeys.pgp.net gpg: key E23C5FC3: public key "Arnav Ghosh (Automatix Team Lead)" imported gpg: Total number processed: 1 gpg: imported: 1 $ gpg --export --armor E23C5FC3 | sudo apt-key add - OK
Now, apt knows about the gpg public key for Automatix and doesn’t complain when I do sudo apt-get update
.
That should be –export, right?
If you mean double-hyphen export, then yes. That’s what I typed, but WordPress’s overly aggresive filters are mangling it. Ugh.
Marc,
Thanks a million although I still had to export the public key to a file and then go to System>Administration>Synaptic Package Manager>Setting>Repositories>Authentication>Import Key File and import it. For those who are unsure how to export to file
$ gpg –export “NAME OF YOUR KEY” > nameofyourkeyfile
Thanks again Marc it helped eliminate the error completely.