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.
This should help: