1 votos

E: El repositorio 'http // archive.canonical.com preciso Release' no está firmado

He utilizado todas las respuestas posibles a partir de aquí: "GPG error: Release: Las firmas siguientes fueron inválidas: BADSIG"

Pero aún me sale el mismo error cada vez que:

Reading package lists... Done
W: GPG error: http://archive.canonical.com precise Release:
 The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.canonical.com precise Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore
 disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Primer intento:

ahadji05@ahadji05-UX330UAR:~$ gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg: key 16126D3A3E5C1192: 3 signatures not checked due to missing keys
gpg: key 16126D3A3E5C1192: public key "Ubuntu Extras Archive Automatic 
Signing Key <ftpmaster@ubuntu.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1

ahadji05@ahadji05-UX330UAR:~$ gpg --export --armor 16126D3A3E5C1192 | sudo apt-key add -
OK

ahadji05@ahadji05-UX330UAR:~$ sudo apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Hit:2 http//security.ubuntu.com/ubuntu bionic-security InRelease             
Reading package lists... Done  
W: GPG error: http://archive.canonical.com precise Release:
  The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.canonical.com precise Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Luego he intentado esto:

ahadji05@ahadji05-UX330UAR:~$ sudo -i
root@ahadji05-UX330UAR:~# apt-get clean
root@ahadji05-UX330UAR:~# cd /var/lib/apt
root@ahadji05-UX330UAR:/var/lib/apt# mv lists lists.old
root@ahadji05-UX330UAR:/var/lib/apt# mkdir -p lists/partial
root@ahadji05-UX330UAR:/var/lib/apt# apt-get clean
root@ahadji05-UX330UAR:/var/lib/apt# apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Get:2 http//sd.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]                                        
Get:3 http//archive.canonical.com precise Release [8,180 B]                                               
Get:4 http//archive.canonical.com precise Release.gpg [181 B]                                                        
Get:5 http//security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                           
Get:6 http//sd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]          
Ign:4 http//archive.canonical.com precise Release.gpg         
........
Get:70 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe translation-en [1,604 B]                                                                                                              
Get:71 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,352 B]                                                                                                       
Get:72 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]                                                                                                             
Get:73 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]                                                                                                             
Reading package lists... Done                                                                                                                                                                              
W: GPG error: http//archive.canonical.com precise Release:
 The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http//archive.canonical.com precise Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Y finalmente esto:

ahadji05@ahadji05-UX330UAR:~$ sudo apt-get clean
ahadji05@ahadji05-UX330UAR:~$ sudo mv /var/lib/apt/lists /tmp
ahadji05@ahadji05-UX330UAR:~$ sudo mkdir -p /var/lib/apt/lists/partial
ahadji05@ahadji05-UX330UAR:~$ sudo apt-get clean
ahadji05@ahadji05-UX330UAR:~$ sudo apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Get:2 http//sd.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]        
Get:3 http//archive.canonical.com precise Release [8,180 B]                                               
Get:4 http//archive.canonical.com precise Release.gpg [181 B]                                                       
Ign:4 http//archive.canonical.com precise Release.gpg                                    
Get:5 http//security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]           
Get:6 http//sd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]       
Get:7 http//sd.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                 
Get:8 http//sd.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]                 
Get:9 http//sd.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,019 kB]                 
Get:10 http//security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [269 kB]
Get:11 http//sd.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]  
.......
Get:72 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]                                                                                                             
Get:73 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]                                                                                                             
Reading package lists... Done                                                                                                                                                                              
W: GPG error: http//archive.canonical.com precise Release:
 The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http//archive.canonical.com precise Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

En todos los casos tengo el mismo error...

3voto

user68186 Puntos 7952

Quitar obsoletos repositorios formulario sources.list

Esta pregunta se refiere a Ubuntu 18.04, Bionic La OP agregada, por error, una obsoleta repositorio para Ubuntu 12.04, Preciso, que ha llegado al final de su vida. Este obsoleto repositorio no existe más y los resultados en el error:

E: The repository 'http//archive.canonical.com precise Release' is not signed. 

La solución es eliminar los infractores de la línea de sources.list.

GUI método:

Abra el programa de "Software y Actualizaciones"

enter image description here

A continuación, vaya a la pestaña Otro Software:

enter image description here

Encontrar cada línea que ha precisos . Resaltar una línea a la vez. Pulse el Quitar botón en la parte inferior de la ventana.

Repita el procedimiento para todas las líneas con precisa . Estas líneas se refieren a la obsolescencia de los repositorios de Ubuntu 12.04. Estás usando Ubuntu 18.04, una de las versiones compatibles.

Método de línea de comandos:

Abrir un terminal presionando Ctrl+Alt+T y tipo:

sudo nano /etc/apt/sources.list

Ahora usted será capaz de editar el sources.list archivo. Busca la línea:

deb http://archive.ubuntu.com/ubuntu precise Release

Eliminar esta y cualquier otra línea precisa .

Salida nano editor pulsando Ctrl+X. El editor le pedirá que guarde los cambios. Presione Y y, a continuación, presione Entrar para seleccionar el nombre de archivo predeterminado.

Espero que esto ayude

EnMiMaquinaFunciona.com

EnMiMaquinaFunciona es una comunidad de administradores de sistemas en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros sysadmin, hacer tus propias preguntas o resolver las de los demás.

Powered by: