This is a very annoying bug that hits me very often. It's also the source of yet another place to configure the proxy server.
My usual work around is trying to patch all executions of apt-key and friends to use --keyserver-options http-proxy=$http_proxy.
It might be possible to patch /root/.gnupg/gpg.conf to include that setting, but I haven't tried that yet.
This is a very annoying bug that hits me very often. It's also the source of yet another place to configure the proxy server.
My usual work around is trying to patch all executions of apt-key and friends to use --keyserver-options http-proxy= $http_proxy.
It might be possible to patch /root/. gnupg/gpg. conf to include that setting, but I haven't tried that yet.