Ubuntu apt-key not working? Behind a Firewall? Open port port 11371 or use http://:80

I was trying to get some Ubuntu PGP Key’s for some ppa.launchpad.net sources, and apt-key kept erroring out. All I had to do was open up 11371 on my firewall or just use http://keyserver.ubuntu.com:80 which would force the HTTP protocal instead of HKP.

It’s that simple actually.

http://superuser.com/questions/64922/how-to-work-around-blocked-outbound-hkp-port-for-apt-keys


Did you like this article?


0 Shares:
You May Also Like

Exim4 and PHP and PHP-CGI mail() function using incorrect From: and applying Sender: headers.

If you're using Exim4 and PHP as a module or as a CGI with suexec. You may have noticed some issues with your mail. Specifically you would have noticed that either the "From:" header was using "nobody@machinename" or "user@machine name, its also possibly that you had an additional header called "Sender:". There are two things you need to do to fix this. You first need to make sure that your "php.ini" has the following value "sendmail_path = /usr/sbin/sendmail -t -i". Which is the default, double check this variable as it might be set to something else.
Read More