GPG ERROR NO_PUBKEY: ADVERTENCIA: ¡Los siguientes paquetes no se pueden autenticar! [cerrado]


23

Acabo de recibir algunos errores extraños con respecto a las claves GPG. Es decir, acabo de agregar ppa:ubuntu-toolchain-r/testy quería actualizar y luego obtuve esto:

W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: GPG error: http://archive.canonical.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://qgis.org trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 030561BEDD45F6C3
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://archive.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://archive.ubuntu.com trusty-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://archive.ubuntu.com trusty-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32

He intentado resolverlo de 2 maneras (proporcionado aquí )

for key in 40976EAF437D05B5 3B4FE6ACC0B21F32 A040830F7FAC5991 030561BEDD45F6C3 16126D3A3E5C1192  ; do sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key ; done

pero eso no ayudó (los mismos errores seguían apareciendo con las mismas claves), así que intenté hacer esto:

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager

pero obtuve esto que me abrió los ojos:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  launchpad-getkeys libvte-common libvte9 python-keyring python-launchpadlib
  python-lazr.restfulclient python-lazr.uri python-oauth python-secretstorage
  python-simplejson python-vte python-wadllib xclip yad
Suggested packages:
  python-gdata python-keyczar python-kde4 python-testresources
  python-secretstorage-doc
The following NEW packages will be installed:
  launchpad-getkeys libvte-common libvte9 python-keyring python-launchpadlib
  python-lazr.restfulclient python-lazr.uri python-oauth python-secretstorage
  python-simplejson python-vte python-wadllib xclip y-ppa-manager yad
0 upgraded, 15 newly installed, 0 to remove and 29 not upgraded.
Need to get 915 kB of archives.
After this operation, 4,515 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
WARNING: The following packages cannot be authenticated!
  libvte-common libvte9 python-keyring python-lazr.uri python-simplejson
  python-wadllib python-oauth python-lazr.restfulclient python-launchpadlib
  python-secretstorage python-vte xclip
Install these packages without verification? [y/N]

44
tratar sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <KEY>. Por ejemplosudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
g_p

Lo intenté y esto no funcionó en ese punto. Mira mi respuesta.
Patryk

2
Esto es esencialmente un informe de error en el que describe un problema y, como respuesta, se refiere al informe de error. El informe de error en sí es para 13.10, que está más allá del final de la vida. Si está en 13.10, le sugiero que actualice. Si tiene una versión actual de Ubuntu, le sugiero que presente un nuevo informe de error ya que el anterior está desactualizado. referencia al viejo en el nuevo.
Panther


Respuestas:


58

Ejecutar comando:

sudo apt-get update

Por cada clave de 16 caracteres que se informa como faltante, ejecute lo siguiente con la clave sustituida:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABCDEFGH12345678

2
Consigo los errores siguientes: gpgkeys: key 1DB8ADC1CFCA9579 can't be retrieved. gpg: no valid OpenPGP data found.¿Que puedo hacer?
Becko

3
¿Qué pasa si no se informaron claves faltantes en la actualización de apt-get?
harayz
Al usar nuestro sitio, usted reconoce que ha leído y comprende nuestra Política de Cookies y Política de Privacidad.
Licensed under cc by-sa 3.0 with attribution required.