Cómo solucionar el error de GPG al intentar acceder a los repositorios extras

Aparentemente, varios usuarios han reportado problemas al intentar acceder a los repositorios extras de Ubuntu. Puntualmente, al intentarlo, se chocan con un error de GPG.  Esto quiere decir simplemente que no contamos con los keys para acceder a esos repositorios, por eso cada vez que actualizamos los paquetes nos aparece el cartelito «GPG Error«. En fin, aquí va la solución…


El problema

Cuando intentás acceder a los repositorios extras de Ubuntu, sale el siguiente error:

An error occurred during the signature verification. The repository is not updated and the previous index files will be used.

GPG error: http://extras.ubuntu.com maverick Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192.

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/Release

La solución

Abrí un terminal y escribí:

gpg –keyserver keyserver.ubuntu.com –recv 3E5C1192
gpg –export –armor 3E5C1192 | sudo apt-key add -
sudo apt-get update