I'm tring to add a keys (on Kubuntu 12.04)
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys SOMEKEY
and I constantly get
gpg: requesting key 8AC93F7A from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
I thought my ports are closed. But the following should have made ports 80 and 11371 open:
iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 80 -j ACCEPT
iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 11371 -j ACCEPT
But I still get timed out
.
Edit:
The following solves it:
sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys SOMEKEY