I am looking for a solution that would prevent me from seeing things like:
W: GPG error: http://updates.example.com lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 00AABBCCDDEE0011
The question applies for both Debian and Ubuntu.
Isn't possible to publish the key somewhere where it can be automatically downloaded by apt-get based on it's signature?
Note: I know that I can put my signature to an we server and use wget to get it and install it from there, still I am using for a better solution.
apt-get install debian-archive-keyringCourtesy: http://www.howtoforge.com/debian-lenny-public-key-is-not-available-NO_PUBKEY-9AA38DCD55BE302B – saji89 Nov 15 '12 at 08:58sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 00AABBCCDDEE0011– saji89 Nov 15 '12 at 09:22