Here is an useful script to register APT keys, to avoid the "There are no public key available for the following key IDs" warning message.



echo "Registering APT key $1..."
gpg --keyserver --recv-keys "$KEYID"
gpg --export --armor "$KEYID" | apt-key add -

Alternate ways to do this

By googling a bit, I found some alternate ways to do this (although it seems they're not always valid):


$ apt-key update

While here: they suggest installing debian-archive-keyring, instead:

# apt-get install debian-archive-keyring

(or, if you have unstable repositories):

# apt-get install debian-archive-keyring/unstable