Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
19
rated 0 times [  19] [ 0]  / answers: 1 / hits: 36777  / 2 Years ago, sun, december 12, 2021, 2:24:13

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

More From » 12.04

 Answers
6

The following solves it:



sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys SOMEKEY


If you see something like this:



W: GPG error: http://archive.canonical.com jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 


then add the appropriate key:



sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 


You can get a list of repos here: http://repogen.simplylinux.ch (but it is not recommended to add x-org updates - at least be sure to back up You xorg.conf)



If see errors from previous repos - empty your /etc/apt/sources.list.d dir.


[#38566] Monday, December 13, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uffno

Total Points: 283
Total Questions: 93
Total Answers: 111

Location: Saint Vincent and the Grenadines
Member since Thu, Oct 15, 2020
4 Years ago
;