Advertencias de GPG y no se pudieron recuperar errores al intentar actualizar con APT

Advertencias de GPG y no se pudieron recuperar errores al intentar actualizar con APT

Soy un nuevo usuario de Ubuntu. Intenté actualizar mi Ubuntu y mostró estos errores.

Reading package list... Done
W: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg:
    Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-security/InRelease:  
    Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease:  
    Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/InRelease:  
    Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.canonical.com/ubuntu/dists/precise/Release.gpg:
    Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: The repository 'http://ppa.launchpad.net/tualatrix/ppa/next/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://extras.ubuntu.com/ubuntu precise Release: 
    The following signatures couldn't be verified because the public key is not available: 
    NO_PUBKEY 16126D3A3E5C1192
W: The repository 'http://extras.ubuntu.com/ubuntu precise Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/next/ubuntu/dists/xenial/main/source/Sources  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead

¿Cómo se pueden solucionar?

Respuesta1

Acabo de comprobar ese PPA que se queja del error "Error al recuperar".

Desde eldirectorio dist de ese PPA, no tiene versión para Xenial. Entonces la única solución podría ser eliminar ese ppa.

Si está actualizando de 12.04 a 16.04, puede intentar eliminar ese ppa con: sudo add-apt-repository --remove ppa:tualatrix/next

Y actualice la lista de software con sudo apt-get update, entonces debería poder continuar con su tarea de actualización.

O puede intentar actualizar a 14.04, ese ppa está disponible para Trusty.

Respuesta2

  • ejecute los siguientes comandos uno por uno.
  • rm -rf /var/lib/apt/lists/*
  • Si usa proxy, exporte la configuración del proxy mediante los siguientes comandos en la terminal con privilegios de root:
  • exportar http_proxy=http://direcciónproxy:puerto
  • ejecute agregar ppa con la configuración de entorno sudo mediante
  • sudo -E agregar-repositorio-apt

información relacionada