Sunday, July 3, 2011

debian apt NO_PUBKEY error

A sample error message:

W: GPG error: lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139

You can fix it by adding the missing public key by:

# gpg --keyserver --recv 54422A4B98AB5139
# gpg --export --armor 54422A4B98AB5139 | apt-key add -


Post a Comment