Problemas no apt-get update (keyring /etc/apt/trusted.gpg)

1. Problemas no apt-get update (keyring /etc/apt/trusted.gpg)

Bruno Walter
bwalter14

(usa Outra)

Enviado em 11/02/2018 - 09:51h

Olá pessoal!

Quando lanço o comando apt-get update no Debian 9, aparecem alguns problemas ao final que não sei como resolver. Se alguém tiver alguma sugestão, é muito bem-vinda. Valeu.

root@debian:/var/lib/apt# apt-get update
Ign:1 http://deb.debian.org/debian stable InRelease
Atingido:2 http://deb.debian.org/debian stable-updates InRelease
Atingido:3 http://deb.debian.org/debian-security stable/updates InRelease
Ign:4 http://deb.debian.org/debian stretch InRelease
Atingido:5 http://deb.debian.org/debian stretch-updates InRelease
Atingido:6 http://deb.debian.org/debian stable Release
Atingido:8 http://deb.debian.org/debian stretch Release
Atingido:10 http://security.debian.org stretch/updates InRelease
Lendo listas de pacotes... Pronto
W: http://deb.debian.org/debian/dists/stable-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian-security/dists/stable/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stretch-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stable/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://security.debian.org/dists/stretch/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
root@debian:/var/lib/apt#



  


2. Re: Problemas no apt-get update (keyring /etc/apt/trusted.gpg)

Perfil removido
removido

(usa Nenhuma)

Enviado em 11/02/2018 - 10:32h

-poste a sua sources.list



3. Re: Problemas no apt-get update (keyring /etc/apt/trusted.gpg)

Bruno Walter
bwalter14

(usa Outra)

Enviado em 11/02/2018 - 10:38h

Tá na mão:


####################################################################################
# Repositórios Oficiais #
####################################################################################

deb http://deb.debian.org/debian/ stable main contrib non-free
# deb-src http://deb.debian.org/debian/ stable main contrib non-free

deb http://deb.debian.org/debian/ stable-updates main contrib non-free
# deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free

deb http://deb.debian.org/debian-security stable/updates main contrib non-free
# deb-src http://deb.debian.org/debian-security stable/updates main contrib non-free

## Debian Stretch Backports
# deb http://ftp.debian.org/debian stretch-backports main contrib non-free
# deb-src http://ftp.debian.org/debian stretch-backports main contrib non-free

deb http://deb.debian.org/debian/ stretch main contrib
deb http://security.debian.org/ stretch/updates contrib main
deb http://deb.debian.org/debian/ stretch-updates contrib main
####################################################################################



4. Re: Problemas no apt-get update (keyring /etc/apt/trusted.gpg)

Perfil removido
removido

(usa Nenhuma)

Enviado em 11/02/2018 - 10:42h

-aqui eu usei assim >> stretch e não stable >> não tive nenhuma mensagem de erro

deb http://ftp.br.debian.org/debian/ stretch main non-free contrib
#deb-src http://ftp.br.debian.org/debian/ stretch main non-free contrib

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
#deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

deb http://ftp.br.debian.org/debian/ stretch-updates main contrib non-free
#deb-src http://ftp.br.debian.org/debian/ stretch-updates main contrib non-free

-vc já rodou autoremove ??



5. Re: Problemas no apt-get update (keyring /etc/apt/trusted.gpg)

Bruno Walter
bwalter14

(usa Outra)

Enviado em 11/02/2018 - 11:13h

Já tentei o autoremove e não mudou nada



6. Re: Problemas no apt-get update (keyring /etc/apt/trusted.gpg)

Mauriciodez
Mauriciodez

(usa Debian)

Enviado em 11/02/2018 - 15:13h

bwalter14 escreveu:
Tá na mão:


isso é tudo o que vc precisa !!!

deb http://deb.debian.org/debian/ stable main contrib non-free
deb http://deb.debian.org/debian/ stable-updates main contrib non-free
deb http://deb.debian.org/debian-security stable/updates main
deb http://ftp.debian.org/debian stretch-backports main


------------------------------------------| Linux User #621728 |-----------------------------------------

" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"

------------------------------------------| Linux User #621728 |-----------------------------------------



7. Re: Problemas no apt-get update (keyring /etc/apt/trusted.gpg)

Bruno Walter
bwalter14

(usa Outra)

Enviado em 11/02/2018 - 16:28h

Mauriciodez,

Atualizei o sources.list com a sua sugestão e alguns problemas continuam:

root@debian:/home/bruno# apt-get update
Ign:1 http://deb.debian.org/debian stable InRelease
Atingido:2 http://deb.debian.org/debian stable-updates InRelease
Atingido:3 http://deb.debian.org/debian-security stable/updates InRelease
Atingido:4 http://deb.debian.org/debian stable Release
Atingido:6 http://ftp.debian.org/debian stretch-backports InRelease
Lendo listas de pacotes... Pronto
W: http://deb.debian.org/debian/dists/stable-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian-security/dists/stable/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stable/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://ftp.debian.org/debian/dists/stretch-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
root@debian:/home/bruno#



8. Re: Problemas no apt-get update (keyring /etc/apt/trusted.gpg)

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 11/02/2018 - 17:17h

bwalter14 escreveu:

Mauriciodez,

Atualizei o sources.list com a sua sugestão e alguns problemas continuam:

root@debian:/home/bruno# apt-get update
Ign:1 http://deb.debian.org/debian stable InRelease
Atingido:2 http://deb.debian.org/debian stable-updates InRelease
Atingido:3 http://deb.debian.org/debian-security stable/updates InRelease
Atingido:4 http://deb.debian.org/debian stable Release
Atingido:6 http://ftp.debian.org/debian stretch-backports InRelease
Lendo listas de pacotes... Pronto
W: http://deb.debian.org/debian/dists/stable-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian-security/dists/stable/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stable/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://ftp.debian.org/debian/dists/stretch-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
root@debian:/home/bruno#


Falos enrijecidos, vocês (não me refiro ao autor do tópico) não sabem ler não? Tá dando erro de chave GPG no apt do cara e vocês mandam trocar de repositório? Faz favor...

Ao autor do tópico

Para te orientar eu preciso da resposta de um comando:
# ls -lha /etc/apt 


--
Dino®
Vi veri universum vivus vici
Public GPG signature: 0x246A590B
Só Slackware é GNU/Linux e Patrick Volkerding é o seu Profeta
Mensagem do dia: Satã representa conhecimento sem limites e não auto-ilusão hipócrita. 



9. Re: Problemas no apt-get update (keyring /etc/apt/trusted.gpg)

Mauriciodez
Mauriciodez

(usa Debian)

Enviado em 11/02/2018 - 18:11h

faça uma cópia do arquivo .. ( como root )
cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.old 

exclua o arquivo e atualize o apt-key .. ( como root )
rm /etc/apt/trusted.gpg && apt-key update && apt update 


------------------------------------------| Linux User #621728 |-----------------------------------------

" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"

------------------------------------------| Linux User #621728 |-----------------------------------------







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts