GPG error apt-get update

De Wikillano

Al realizar apt-get update al final me suelta el siguiente warning

Leyendo lista de paquetes... Hecho
W: A error occurred during the signature verification. The repository is not updated and the previous index files
will be used.GPG error: http://security.ubuntu.com hardy-security Release: Las siguientes firms fueron inválidas: 
BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: Imposible obtener http://security.ubuntu.com/ubuntu/dists/hardy-security/Release  


W: Algunos archivos de índice no se han podido descargar, se han ignorado,
o se ha utilizado unos antiguos en su lugar.
W: Tal vez quiera ejecutar 'apt-get update' para corregir estos problemas

Para arreglarlo hize un backup del sources.list y ejecuté apt-get update, después volví a dejar el sources list exactamente igual.

Al volver a ejecutar el comando apt-get update todo funcionó con normalidad,


Me ha vuelto a salir el mismo error de nuevo y esta vez no se arregla con la solución de arriba, creo que el problema esta en el proxy y su cache, esta vez realicé:

apt-get update -o Acquire::http::No-Cache=True
Herramientas personales