problemas com chaves gpg

1. problemas com chaves gpg

Perfil removido
removido

(usa Nenhuma)

Enviado em 28/09/2022 - 08:40h

galera pelo q eu entendi as chaves sumiram, o trusted.gpg desapareceu do sistema
essa é a saida do apt-get update:
Atingido:1 https://dl.google.com/linux/chrome/deb stable InRelease
Atingido:2 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease
Atingido:3 https://updates.signal.org/desktop/apt xenial InRelease
Atingido:4 https://deb.opera.com/opera-stable stable InRelease
Err:2 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 6B219E535C964CA1
Atingido:5 http://br.archive.ubuntu.com/ubuntu jammy InRelease
Atingido:6 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Atingido:7 https://dbeaver.io/debs/dbeaver-ce InRelease
Obter:8 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Atingido:9 https://packages.microsoft.com/repos/vscode stable InRelease
Err:5 http://br.archive.ubuntu.com/ubuntu jammy InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 871920D1991BC93C
Obter:10 http://br.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
Err:6 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY EB3E94ADBE1229CF
Atingido:11 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Err:7 https://dbeaver.io/debs/dbeaver-ce InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY D33A1BD725ED047D
Atingido:13 http://download.virtualbox.org/virtualbox/debian jammy InRelease
Err:11 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY BA6932366A755776
Ign:14 https://packagecloud.io/shiftkey/desktop/ubuntu jammy InRelease
Obter:15 https://mega.nz/linux/repo/xUbuntu_22.04 ./ InRelease [2.961 B]
Atingido:16 https://deb.nodesource.com/node_16.x jammy InRelease
Err:17 https://packagecloud.io/shiftkey/desktop/ubuntu jammy Release
404 Not Found [IP: 2600:1f1c:2e5:6901:7490:7069:b772:9ea1 443]
Err:8 http://security.ubuntu.com/ubuntu jammy-security InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 871920D1991BC93C
Err:10 http://br.archive.ubuntu.com/ubuntu jammy-updates InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 871920D1991BC93C
Obter:18 http://br.archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB]
Atingido:19 https://ppa.launchpadcontent.net/maarten-fonville/android-studio/ubuntu jammy InRelease
Err:19 https://ppa.launchpadcontent.net/maarten-fonville/android-studio/ubuntu jammy InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 4DEA8909DC6A13A3
Err:18 http://br.archive.ubuntu.com/ubuntu jammy-backports InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 871920D1991BC93C
Atingido:20 https://ppa.launchpadcontent.net/nicotine-team/stable/ubuntu jammy InRelease
Err:20 https://ppa.launchpadcontent.net/nicotine-team/stable/ubuntu jammy InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 6CEB6050A30E5769
Atingido:21 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Err:21 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 4F4EA0AAE5267A6C
Atingido:22 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease
Err:22 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 1E9377A2BA9EF27F
Atingido:23 https://download.sublimetext.com apt/dev/ InRelease
Obter:24 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [7.453 B]
Err:24 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 4067E40313CB4B13
Obter:25 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [7.452 B]
Err:25 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease
As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 4067E40313CB4B13
Atingido:26 https://dl.yarnpkg.com/debian stable InRelease
Atingido:12 https://packagecloud.io/AtomEditor/atom/any any InRelease
Lendo listas de pacotes... Pronto
W: https://dl.google.com/linux/chrome/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 6B219E535C964CA1
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://br.archive.ubuntu.com/ubuntu jammy InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY EB3E94ADBE1229CF
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dbeaver.io/debs/dbeaver-ce InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY D33A1BD725ED047D
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY BA6932366A755776
E: The repository 'https://packagecloud.io/shiftkey/desktop/ubuntu jammy Release' does not have a Release file.
N: Atualizações a partir de tal repositório não podem ser feitas de forma segura e estão, portanto, desativadas por definição.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://br.archive.ubuntu.com/ubuntu jammy-updates InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://ppa.launchpadcontent.net/maarten-fonville/android-studio/ubuntu jammy InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 4DEA8909DC6A13A3
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://br.archive.ubuntu.com/ubuntu jammy-backports InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 871920D1991BC93C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://ppa.launchpadcontent.net/nicotine-team/stable/ubuntu jammy InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 6CEB6050A30E5769
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 4F4EA0AAE5267A6C
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 1E9377A2BA9EF27F
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 4067E40313CB4B13
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 4067E40313CB4B13

sou leigo no linux, realmente n sei o q eu fiz, tava bebasso ontem e fiz alguma [*****]
tem como recuperar as chaves? tem como fazer isso com um comando só? tudo de uma vez para n perder um tempão fazendo uma por uma



  


2. Re: problemas com chaves gpg

leandro peçanha scardua
leandropscardua

(usa Ubuntu)

Enviado em 28/09/2022 - 10:21h


Tenta recuperar do histórico de comandos o que vocé fez, vai ajudar a entender o problema.


3. Re: problemas com chaves gpg

Perfil removido
removido

(usa Nenhuma)

Enviado em 28/09/2022 - 10:26h


leandropscardua escreveu:


Tenta recuperar do histórico de comandos o que vocé fez, vai ajudar a entender o problema.


onde eu posso ver isso?
to recem começando no linux


4. Re: problemas com chaves gpg

Perfil removido
removido

(usa Nenhuma)

Enviado em 28/09/2022 - 10:45h

descobri como ver o histórico, mas não tem nada demais nele, coloquei pra ver as ultimas 10000 linhas, mas nao vejo na demais, comandos que dei tentando recuperar, um monte de update e comandos q eu usei na semana passada
to achando q eu devo ter apagado algo usando o nautilus


5. Re: problemas com chaves gpg

Perfil removido
removido

(usa Nenhuma)

Enviado em 28/09/2022 - 11:03h

na mão usei
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys
pra cada erro em atingir os repositorios, fui um a um pois não eram muito.
beleza, agora ele tá acha
mas os warnings continuam
Atingido:1 https://deb.nodesource.com/node_16.x jammy InRelease
Atingido:2 https://updates.signal.org/desktop/apt xenial InRelease
Atingido:3 https://dl.google.com/linux/chrome/deb stable InRelease
Atingido:4 http://download.virtualbox.org/virtualbox/debian jammy InRelease
Atingido:5 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease
Atingido:6 http://br.archive.ubuntu.com/ubuntu jammy InRelease
Atingido:7 https://deb.opera.com/opera-stable stable InRelease
Atingido:8 https://dbeaver.io/debs/dbeaver-ce InRelease
Atingido:9 http://security.ubuntu.com/ubuntu jammy-security InRelease
Atingido:10 http://br.archive.ubuntu.com/ubuntu jammy-updates InRelease
Atingido:11 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Atingido:12 https://download.sublimetext.com apt/dev/ InRelease
Atingido:13 https://packages.microsoft.com/repos/vscode stable InRelease
Atingido:15 http://br.archive.ubuntu.com/ubuntu jammy-backports InRelease
Atingido:16 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Obter:17 https://mega.nz/linux/repo/xUbuntu_22.04 ./ InRelease [2.961 B]
Obter:18 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease [7.453 B]
Obter:19 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease [7.452 B]
Atingido:20 https://ppa.launchpadcontent.net/maarten-fonville/android-studio/ubuntu jammy InRelease
Atingido:21 https://dl.yarnpkg.com/debian stable InRelease
Atingido:14 https://packagecloud.io/AtomEditor/atom/any any InRelease
Atingido:22 https://ppa.launchpadcontent.net/nicotine-team/stable/ubuntu jammy InRelease
Atingido:23 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Atingido:24 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease
Baixados 17,9 kB em 5s (3.447 B/s)
Lendo listas de pacotes... Pronto
W: https://dl.google.com/linux/chrome/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://repo.nordvpn.com//deb/nordvpn/debian/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://br.archive.ubuntu.com/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://dbeaver.io/debs/dbeaver-ce/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://br.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://download.sublimetext.com/apt/dev/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://br.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://esm.ubuntu.com/infra/ubuntu/dists/jammy-infra-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://esm.ubuntu.com/infra/ubuntu/dists/jammy-infra-updates/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://ppa.launchpadcontent.net/maarten-fonville/android-studio/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://ppa.launchpadcontent.net/nicotine-team/stable/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://ppa.launchpadcontent.net/ondrej/php/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
o q esses warnings significam? pois eles não me impedem de fazer upgrade e instalar o q eu preciso
obs: eu tô tentando usar o ubuntu faz uma semana só, não sou tão burro assim hahaha



6. Re: problemas com chaves gpg

Perfil removido
removido

(usa Nenhuma)

Enviado em 28/09/2022 - 11:07h

descobri o q era, a pasta trusted.gpg.d estava ausente, não sei como nem pq eu movi ela para outro lugar
mas joguei ela de volta para etc/apt e esses warnings sumiram
devia ter pesquisado antes de perguntar, mongolão eu


7. Re: problemas com chaves gpg

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 28/09/2022 - 11:29h

Como vc moveu essa pasta de lugar?




8. Re: problemas com chaves gpg

Perfil removido
removido

(usa Nenhuma)

Enviado em 28/09/2022 - 11:51h

olha eu não lembro de nada de ontem a noite, realmente n sei explicar eu tava muito loco
pra vcs terem noção eu achei ela na pasta do git
agora eu tô revisando meus códigos pra ver se não ferei com alguma coisa e tô achando cada pérola q n sei como eu posso ter pensado nisso




  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts