Solución couldn't be verified because the public key is not available: NO_PUBKEY.

Posted by David Guillermo on Thursday, February 2, 2023

Desde hace una temporada para acá, estoy viendo que al añadir algún repositorio nuevo me encuentro con el siguiente error.

Reading package lists... Done                       
W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
E: The repository 'https://repos.influxdata.com/debian bullseye 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.

Bueno, ya que la solución habitual no vale, acabo de hacerlo de la siguiente manera.

$ gpg --keyserver keyserver.ubuntu.com --recv  D8FF8E1F7DF8B07E
$ gpg --export --armor D8FF8E1F7DF8B07E | sudo apt-key add -

Seguimos!!