Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

public key is not available

26 views
Skip to first unread message

Caio Ferreira

unread,
Nov 24, 2023, 11:50:05 PM11/24/23
to
Lista

Depois de procurar muito na net e não encontrar a solução, resolvi enviar um e-mail para a lista.

Fiz a atualização do debian de um raspberry pi para a última versão e quando eu executo o comando "apt-get update" está aparecendo as mensagens de erro abaixo.

Err:1 http://deb.debian.org/debian bookworm InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY F8D2585B8783D481
Err:2 http://deb.debian.org/debian-security bookworm-security InRelease                                                                                                    
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
Err:3 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                              
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
Reading package lists... Done                                                                                                                                              
W: GPG error: http://deb.debian.org/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY F8D2585B8783D481
E: The repository 'http://deb.debian.org/debian bookworm 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.
W: GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
E: The repository 'http://deb.debian.org/debian-security bookworm-security 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.
W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://deb.debian.org/debian bookworm-updates 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.


Eu tentei várias coisas e infelizmente não deu certo.

Alguém teria alguma idéia ?!?!?!

Atencisamente,

 .''`.   Caio Abreu Ferreira
: :'  :  abre...@gmail.com
`. `'`   Debian User
  `-

Galileu H. Oliveira

unread,
Nov 27, 2023, 7:50:04 PM11/27/23
to

Isso aqui resolve?
https://www.kevinhooke.com/2020/01/17/raspbian-error-the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-available/
sds.
G.Paulo.

On Sat, 25 Nov 2023 01:46:24 -0300
Caio Ferreira <abre...@gmail.com> wrote:

> Lista
>
> Depois de procurar muito na net e não encontrar a solução, resolvi
> enviar um e-mail para a lista.
>
> Fiz a atualização do debian de um raspberry pi para a última versão e
> quando eu executo o comando "apt-get update" está aparecendo as
> mensagens de erro abaixo.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Err:1 http://deb.debian.org/debian <http://deb.debian.org/debian>
> bookworm InRelease The following signatures couldn't be verified
> because the public key is not available: NO_PUBKEY 0E98404D386FA1D9
> NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY F8D2585B8783D481Err:2
> http://deb.debian.org/debian-security
> <http://deb.debian.org/debian-security> bookworm-security InRelease
>
> The following signatures couldn't be verified
> because the public key is not available: NO_PUBKEY 54404762BBB6E853
> NO_PUBKEY BDE6D2B9216EC7A8Err:3 http://deb.debian.org/debian
> <http://deb.debian.org/debian> bookworm-updates InRelease
>
> The following signatures couldn't be verified
> because the public key is not available: NO_PUBKEY 0E98404D386FA1D9
> NO_PUBKEY 6ED0E7B82643E131Reading package lists... Done
>
> W: GPG error:
> http://deb.debian.org/debian <http://deb.debian.org/debian> bookworm
> InRelease: The following signatures couldn't be verified because the
> public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY
> 6ED0E7B82643E131 NO_PUBKEY F8D2585B8783D481E: The repository
> 'http://deb.debian.org/debian <http://deb.debian.org/debian> bookworm
> 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.W: GPG error: http://deb.debian.org/debian-security
> <http://deb.debian.org/debian-security> bookworm-security InRelease:
> The following signatures couldn't be verified because the public key
> is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY
> BDE6D2B9216EC7A8E: The repository
> 'http://deb.debian.org/debian-security
> <http://deb.debian.org/debian-security> bookworm-security 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.W: GPG
> error: http://deb.debian.org/debian <http://deb.debian.org/debian>
> bookworm-updates InRelease: The following signatures couldn't be
> verified because the public key is not available: NO_PUBKEY
> 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131E: The repository
> 'http://deb.debian.org/debian <http://deb.debian.org/debian>
> bookworm-updates 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.*

Caio Ferreira

unread,
Nov 28, 2023, 2:40:04 PM11/28/23
to
Galileu H. Oliveira <lin...@terra.com.br>

Obrigado pela ajuda, mas infelizmente a resposta que estava no link não ajudou muito. Eu consegui resolver o problema com o comando abaixo.

sudo cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d

Eu possuo duas versões do raspberry pi e cada versão possui o seu sources.list

$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware

$ cat /etc/apt/sources.list
deb [ arch=armhf ] http://raspbian.raspberrypi.com/raspbian/ bookworm main contrib non-free rpi

Eu tentei deixar todos os source.list iguais ai deu problema.

Atenciosamente


 .''`.   Caio Abreu Ferreira
: :'  :  abre...@gmail.com
`. `'`   Debian User
  `-
0 new messages