Erro no GPG [RESOLVIDO]

1. Erro no GPG [RESOLVIDO]

Glauber GF
mcnd2

(usa Debian)

Enviado em 28/03/2013 - 20:21h

Boa noite.

Estou com um probleminha no Debian wheeze do desktop.
Não estou conseguindo ter a assinatura do opera válida.

Após o apt-get update ele me retorna:

W: Erro GPG: http://deb.opera.com stable Release: As seguintes assinaturas eram inválidas: BADSIG E585066A30C18A2B Opera Software Archive Automatic Signing Key 2013 <packager@opera.com>


Executei o comandos abaixo para sanar o problema da chave inválida mas o erro persiste.

root@debian: [/home/mcnd2]
>>> # gpg --keyserver hkp://subkeys.pgp.net --recv-keys 30C18A2B && gpg --export 30C18A2B | apt-key add -
gpg: requesting key 30C18A2B from hkp server subkeys.pgp.net
gpg: key 30C18A2B: "Opera Software Archive Automatic Signing Key 2013 <packager@opera.com>" not changed
gpg: Número total processado: 1
gpg: não modificados: 1
OK
root@debian: [/home/mcnd2]
>>> # apt-get update
Atingido http://security.debian.org wheezy/updates Release.gpg
Atingido http://security.debian.org wheezy/updates Release
Atingido http://security.debian.org wheezy/updates/main i386 Packages
Atingido http://security.debian.org wheezy/updates/contrib i386 Packages
Atingido http://security.debian.org wheezy/updates/non-free i386 Packages
Atingido http://dl.google.com stable Release.gpg
Atingido http://dl.google.com stable Release
Atingido http://http.us.debian.org wheezy Release.gpg
Atingido http://download.virtualbox.org wheezy Release.gpg
Atingido http://mirrors.kernel.org wheezy Release.gpg
Atingido http://packages.mate-desktop.org wheezy Release.gpg
Obter:1 http://download.tuxfamily.org sid Release.gpg [198 B]
Obter:2 http://deb.opera.com stable Release.gpg [189 B]
Atingido http://dl.google.com stable/main i386 Packages
Atingido http://http.us.debian.org wheezy Release
Atingido http://download.virtualbox.org wheezy Release
Atingido http://mirrors.kernel.org wheezy-updates Release.gpg
Atingido http://packages.mate-desktop.org wheezy Release
Obter:3 http://download.tuxfamily.org sid Release [3.429 B]
Atingido http://http.us.debian.org wheezy/main i386 Packages/DiffIndex
Obter:4 http://download.tuxfamily.org sid/main i386 Packages [1.743 B]
Atingido http://packages.mate-desktop.org wheezy/main i386 Packages
Atingido http://mirrors.kernel.org wheezy Release
Atingido http://deb.opera.com stable Release
Atingido http://download.virtualbox.org wheezy/contrib i386 Packages
Ign http://download.skype.com stable Release.gpg
Ign http://deb.opera.com stable Release
Atingido http://http.us.debian.org wheezy/contrib i386 Packages/DiffIndex
Atingido http://mirrors.kernel.org wheezy-updates Release
Atingido http://http.us.debian.org wheezy/non-free i386 Packages/DiffIndex
Ign http://security.debian.org wheezy/updates/contrib Translation-pt_BR
Ign http://deb.opera.com stable/non-free i386 Packages/DiffIndex
Ign http://security.debian.org wheezy/updates/contrib Translation-pt
Ign http://security.debian.org wheezy/updates/contrib Translation-en
Ign http://security.debian.org wheezy/updates/main Translation-pt_BR
Ign http://security.debian.org wheezy/updates/main Translation-pt
Atingido http://mirrors.kernel.org wheezy/main i386 Packages/DiffIndex
Atingido http://http.us.debian.org wheezy/contrib Translation-en/DiffIndex
Atingido http://http.us.debian.org wheezy/main Translation-pt_BR/DiffIndex
Atingido http://http.us.debian.org wheezy/main Translation-pt/DiffIndex
Atingido http://http.us.debian.org wheezy/main Translation-en/DiffIndex
Atingido http://http.us.debian.org wheezy/non-free Translation-en/DiffIndex
Ign http://security.debian.org wheezy/updates/main Translation-en
Ign http://security.debian.org wheezy/updates/non-free Translation-pt_BR
Ign http://security.debian.org wheezy/updates/non-free Translation-pt
Ign http://security.debian.org wheezy/updates/non-free Translation-en
Atingido ftp://ftp.deb-multimedia.org wheezy Release.gpg
Atingido http://mirrors.kernel.org wheezy/contrib i386 Packages/DiffIndex
Atingido http://mirrors.kernel.org wheezy/non-free i386 Packages/DiffIndex
Atingido http://mirrors.kernel.org wheezy/contrib Translation-en/DiffIndex
Atingido http://mirrors.kernel.org wheezy/main Translation-pt_BR/DiffIndex
Atingido http://mirrors.kernel.org wheezy/main Translation-pt/DiffIndex
Atingido http://mirrors.kernel.org wheezy/main Translation-en/DiffIndex
Atingido http://mirrors.kernel.org wheezy/non-free Translation-en/DiffIndex
Ign http://download.skype.com stable Release
Atingido http://mirrors.kernel.org wheezy-updates/contrib i386 Packages
Atingido http://mirrors.kernel.org wheezy-updates/non-free i386 Packages
Ign http://download.skype.com stable/non-free i386 Packages/DiffIndex
Atingido ftp://ftp.deb-multimedia.org wheezy Release
Atingido http://mirrors.kernel.org wheezy-updates/main i386 Packages
Atingido ftp://ftp.deb-multimedia.org wheezy/main i386 Packages
Atingido ftp://ftp.deb-multimedia.org wheezy/non-free i386 Packages
Obter:5 ftp://ftp.deb-multimedia.org wheezy/main Translation-pt_BR
Ign http://packages.mate-desktop.org wheezy/main Translation-pt_BR
Ign http://download.tuxfamily.org sid/main Translation-pt_BR
Ign http://dl.google.com stable/main Translation-pt_BR
Atingido http://download.skype.com stable/non-free i386 Packages
Ign http://download.virtualbox.org wheezy/contrib Translation-pt_BR
Ign http://download.tuxfamily.org sid/main Translation-pt
Ign http://packages.mate-desktop.org wheezy/main Translation-pt
Obter:6 ftp://ftp.deb-multimedia.org wheezy/main Translation-pt
Ign http://download.virtualbox.org wheezy/contrib Translation-pt
Atingido http://deb.opera.com stable/non-free i386 Packages
Ign http://download.tuxfamily.org sid/main Translation-en
Ign http://download.virtualbox.org wheezy/contrib Translation-en
Ign http://deb.opera.com stable/non-free Translation-pt_BR
Ign http://packages.mate-desktop.org wheezy/main Translation-en
Ign http://dl.google.com stable/main Translation-pt
Ign http://deb.opera.com stable/non-free Translation-pt
Ign http://dl.google.com stable/main Translation-en
Ign http://deb.opera.com stable/non-free Translation-en
Obter:7 ftp://ftp.deb-multimedia.org wheezy/main Translation-en
Obter:8 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt_BR
Obter:9 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt
Obter:10 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-en
Obter:11 ftp://ftp.deb-multimedia.org wheezy/main Translation-pt_BR
Ign http://mirrors.kernel.org wheezy-updates/contrib Translation-pt_BR
Ign http://mirrors.kernel.org wheezy-updates/contrib Translation-pt
Ign http://mirrors.kernel.org wheezy-updates/contrib Translation-en
Ign http://mirrors.kernel.org wheezy-updates/main Translation-pt_BR
Ign http://mirrors.kernel.org wheezy-updates/main Translation-pt
Ign http://mirrors.kernel.org wheezy-updates/main Translation-en
Ign http://mirrors.kernel.org wheezy-updates/non-free Translation-pt_BR
Obter:12 ftp://ftp.deb-multimedia.org wheezy/main Translation-pt
Ign http://mirrors.kernel.org wheezy-updates/non-free Translation-pt
Ign http://mirrors.kernel.org wheezy-updates/non-free Translation-en
Obter:13 ftp://ftp.deb-multimedia.org wheezy/main Translation-en
Obter:14 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt_BR
Ign http://download.skype.com stable/non-free Translation-pt_BR
Ign http://download.skype.com stable/non-free Translation-pt
Ign http://download.skype.com stable/non-free Translation-en
Obter:15 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt
Obter:16 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-en
Obter:17 ftp://ftp.deb-multimedia.org wheezy/main Translation-pt_BR
Obter:18 ftp://ftp.deb-multimedia.org wheezy/main Translation-pt
Obter:19 ftp://ftp.deb-multimedia.org wheezy/main Translation-en
Obter:20 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt_BR
Obter:21 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt
Obter:22 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-en
Obter:23 ftp://ftp.deb-multimedia.org wheezy/main Translation-pt_BR
Obter:24 ftp://ftp.deb-multimedia.org wheezy/main Translation-pt
Obter:25 ftp://ftp.deb-multimedia.org wheezy/main Translation-en
Obter:26 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt_BR
Obter:27 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt
Obter:28 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-en
Obter:29 ftp://ftp.deb-multimedia.org wheezy/main Translation-pt_BR
Ign ftp://ftp.deb-multimedia.org wheezy/main Translation-pt_BR
Obter:30 ftp://ftp.deb-multimedia.org wheezy/main Translation-pt
Ign ftp://ftp.deb-multimedia.org wheezy/main Translation-pt
Obter:31 ftp://ftp.deb-multimedia.org wheezy/main Translation-en
Ign ftp://ftp.deb-multimedia.org wheezy/main Translation-en
Obter:32 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt_BR
Ign ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt_BR
Obter:33 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt
Ign ftp://ftp.deb-multimedia.org wheezy/non-free Translation-pt
Obter:34 ftp://ftp.deb-multimedia.org wheezy/non-free Translation-en
Ign ftp://ftp.deb-multimedia.org wheezy/non-free Translation-en
Baixados 5.559 B em 49s (111 B/s)
Lendo listas de pacotes... Pronto
W: Erro GPG: http://deb.opera.com stable Release: As seguintes assinaturas eram inválidas: BADSIG E585066A30C18A2B Opera Software Archive Automatic Signing Key 2013 <packager@opera.com>
root@debian: [/home/mcnd2]
>>> #


Alguma solução para esse problema?

Grato desde já pela atenção.




  


2. MELHOR RESPOSTA

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 28/03/2013 - 21:18h

apt-get install debian-keyring

depois

gpg --keyring /usr/share/keyrings/debian-keyring.gpg \
-a --export CHAVE | apt-key add -


Fonte
http://www.vivaolinux.com.br/dica/Corrigindo-erros-de-chave-publica-no-Debian-(GPG)

3. Re: Erro no GPG [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 28/03/2013 - 21:59h

http://deb.opera.com stable

Isso ai é repositório do Opera. Não é do Debian.

Nem me lembrava que estava funcionando.

Se bem entendi, você tem que baixar a chave desse repositório e instalá-la com o apt-key.

wget -O - http://deb.opera.com/archive.key | sudo apt-key add - 


Do jeito que está aí. Retirei as instruções do tal site.

Depois apt-get update etc.

Ou comentar essa bendita linha com o sinal #. :\


4. Re: Erro no GPG [RESOLVIDO]

Glauber GF
mcnd2

(usa Debian)

Enviado em 28/03/2013 - 23:25h

vamos lá...

Mudei a linha no 'sources.list' de stable para wheezy ficando desta forma:

deb http://deb.opera.com/opera/">http://deb.opera.com/opera/ wheezy non-free


Antes removi o opera e limpei o cache do apt com o 'apt-get clean'.

Dei o update e instalei o opera novamente, logo depois rodei novamente o update e me retorna no final a seguinte mensagem:

W: Distribuição em conflito: http://deb.opera.com wheezy Release (esperado wheezy mas obtido stable)


Desfiz o que tinha feito e rodei o comando:

gpg --keyring /usr/share/keyrings/debian-keyring.gpg \
-a --export 30C18A2B | apt-key add -



Depois do update o erro do gpg não retornou.

Valeu pela ajuda @PretooOO e @Listeiro 037...


5. Re: Erro no GPG [RESOLVIDO]

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 29/03/2013 - 00:12h

Beleza, marque ai a melhor opção para ajudar que ver o tópico :-D






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts