Skip to main content

Apt GPG Key Installation

gpg --keyserver subkeys.pgp.net --recv-keys xyxyxyxyxy
gpg --armor --export xyxyxyxyxy | apt-key add -
apt-get update


Replace the xyxyxyxyxy key with a valid one being required by your system.  It's shown on the error thrown when apt-get update is run.  Ex.

W: GPG error: http://ftp.de.debian.org lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B NO_PUBKEY 4D270DEDB40584E6
 

Comments