20110324

gpgkeys: HTTP fetch error 7: couldn't connect to host

Hoy que leído en www.syswoody.com cómo instalar Firefox 4 en Ubuntu y he dedicido probarlo en mi equipo.
Ahí viene un procedimiento bastante sencillo que consiste en añadir un repositorio nuevo a nuestra lista, hacer un update y luego un upgrade. Si todo termina bien, instalaremos esta nueva release en un periquete.
La cosa es que al ejecutar el primer comando:
sudo add-apt-repository ppa:mozillateam/firefox-stable

Obtenía el siguiente error:
gpgkeys: HTTP fetch error 7: couldn't connect to host

Después de buscar un poco y darle dos vueltas, he visto que en mi caso, el problema estaba en el firewall que estaba bloqueando el puerto 11371 utilizado para descargarse la key del key server. Basta con permitir este acceso y todo funciona correctamente.
bdispatcher@tatil02:~$ sudo add-apt-repository ppa:mozillateam/firefox-stable
[sudo] password for bdispatcher: 
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 0AB215679C571D1C8325275B9BDB3D89CE49EC21
gpg: solicitando clave CE49EC21 de hkp servidor keyserver.ubuntu.com
gpg: clave CE49EC21: clave pública "Launchpad PPA for Mozilla Team" importada
gpg: no se encuentran claves totalmente fiables
gpg: Cantidad total procesada: 1
gpg:               importadas: 1  (RSA: 1)
bdispatcher@tatil02:~$

I read today how to install Firefox 4 on Ubuntu and I decided to test it on my laptop. The proccess is pretty good simple with three steps: add a new repository, update and upgrade the packages.
But after input the following line:
sudo add-apt-repository ppa:mozillateam/firefox-stable

I got the this error:
gpgkeys: HTTP fetch error 7: couldn't connect to host

Few seconds seeking the web and 5 more thinking about this issue were enought to find out that the problem was my corporate firewall. The port used to get the key from the key server is 11371, so after open it everything was as easy as it should.
bdispatcher@tatil02:~$ sudo add-apt-repository ppa:mozillateam/firefox-stable
[sudo] password for bdispatcher: 
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 0AB215679C571D1C8325275B9BDB3D89CE49EC21
gpg: solicitando clave CE49EC21 de hkp servidor keyserver.ubuntu.com
gpg: clave CE49EC21: clave pública "Launchpad PPA for Mozilla Team" importada
gpg: no se encuentran claves totalmente fiables
gpg: Cantidad total procesada: 1
gpg:               importadas: 1  (RSA: 1)
bdispatcher@tatil02:~$

PS. I know, I know. My English is not good enought but, the more you help me, the more I learn.

No hay comentarios: