Debian GPG key

If you run into this error on Debian:

"W: GPG error: http://debian.mcmillan.net.nz lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EAFCFEBF8FEB8EBF"

you ned to install the GPG key. Run this (as root or with ):

apt-key advanced --keyserver pgp.net.nz --recv-keys F6E0FA5CF0307507BB23A512EAFCFEBF8FEB8EBF

You should get output similar to this: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver pgp.net.nz --recv-keys F6E0FA5CF0307507BB23A512EAFCFEBF8FEB8EBF gpg: requesting key 8FEB8EBF from hkp server pgp.net.nz gpg: key 8FEB8EBF: public key "Andrew McMillan " imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg:              imported: 1  (RSA: 1)