apt – Forzar actualización desde un repositorio sin firmar

Pregunta:

Estoy usando un repositorio sin firmar en Ubuntu 16.04 de Debian multimedia:

deb http://www.deb-multimedia.org jessie main

Para instalar deb-multimedia-keyring , estoy ejecutando:

apt-get update && apt-get install deb-multimedia-keyring -y

Esto da un error:

W: GPG error: http://www.deb-multimedia.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117
E: The repository 'http://www.deb-multimedia.org jessie InRelease' 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.

Respuesta:

Puede configurar opciones en su sources.list (ubicado en /etc/apt/sources.list ):

deb [trusted=yes] http://www.deb-multimedia.org jessie main

La opción confiable es lo que desactiva la verificación GPG. Consulte man 5 sources.list para obtener más detalles.

Puede editar el archivo dentro de la terminal con vim (o lo que prefiera) o cualquier editor que no sea de terminal como gedit.

Leave a Comment

Your email address will not be published. Required fields are marked *

web tasarım