NO_PUBKEY warning when running "apt"

When receiving a warning:

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY XXXXXXXX      

W: There is no public key available for the following key IDs:      


First, retrieve the key:

gpg --keyserver --recv-key  XXXXXXXX

Then, import the key for use by apt:

gpg -a --export XXXXXXXX | apt-key add -

Where XXXXXXXX is the key.

Tags: APT, Debian, GPG
2015-05-13 21:59 Roy Kidder {writeRevision}
Average rating: 0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.