Erro no sources.list ao dar update [RESOLVIDO]

1. Erro no sources.list ao dar update [RESOLVIDO]

Sinésio Neto
warlocksn

(usa Arch Linux)

Enviado em 19/12/2010 - 13:55h

Bom galera, estou com um problema, e não sei o que fazer, por isso vim aqui pedir a ajuda dos senhores.. espero que compreendão meu problema

O problema, é o seguinte:
_____________________________________________________________
sirsineto:/home/sirsineto# apt-get update
Obter:1 http://www.lamaresh.net lenny Release.gpg [198B]
Atingido http://ftp.br.debian.org lenny Release.gpg
Atingido http://ftp.br.debian.org lenny/main Translation-pt_BR
Atingido http://volatile.debian.org lenny/volatile Release.gpg
Ign http://ftp.br.debian.org lenny/contrib Translation-pt_BR
Atingido http://www.debian-multimedia.org lenny Release.gpg
Atingido http://www.backports.org lenny-backports Release.gpg
Atingido http://security.debian.org lenny/updates Release.gpg
Ign http://ftp.br.debian.org lenny/non-free Translation-pt_BR
Atingido http://ftp.br.debian.org lenny-proposed-updates Release.gpg
Ign http://www.lamaresh.net lenny/main Translation-pt_BR
Atingido http://www.lamaresh.net lenny Release
Err http://www.lamaresh.net lenny Release

Obter:2 http://www.lamaresh.net lenny Release [1558B]
Ign http://volatile.debian.org lenny/volatile/main Translation-pt_BR
Ign http://www.lamaresh.net lenny Release
Ign http://download.skype.com stable Release.gpg
Ign http://ftp.br.debian.org lenny-proposed-updates/main Translation-pt_BR
Ign http://security.debian.org lenny/updates/main Translation-pt_BR
Ign http://ftp.br.debian.org lenny-proposed-updates/contrib Translation-pt_BR
Ign http://www.debian-multimedia.org lenny/main Translation-pt_BR
Ign http://volatile.debian.org lenny/volatile/contrib Translation-pt_BR
Ign http://www.backports.org lenny-backports/main Translation-pt_BR
Ign http://download.skype.com stable/non-free Translation-pt_BR
Ign http://ftp.br.debian.org lenny-proposed-updates/non-free Translation-pt_BR
Atingido http://ftp.br.debian.org lenny Release
Atingido http://ftp.br.debian.org lenny-proposed-updates Release
Ign http://www.lamaresh.net lenny/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Translation-pt_BR
Ign http://ftp.br.debian.org lenny/main Packages/DiffIndex
Ign http://download.skype.com stable Release
Atingido http://www.debian-multimedia.org lenny Release
Ign http://volatile.debian.org lenny/volatile/non-free Translation-pt_BR
Atingido http://volatile.debian.org lenny/volatile Release
Atingido http://www.debian-multimedia.org lenny/main Packages/DiffIndex
Ign http://ftp.br.debian.org lenny/contrib Packages/DiffIndex
Ign http://www.backports.org lenny-backports/contrib Translation-pt_BR
Ign http://security.debian.org lenny/updates/non-free Translation-pt_BR
Ign http://ftp.br.debian.org lenny/non-free Packages/DiffIndex
Ign http://download.skype.com stable/non-free Packages/DiffIndex
Atingido http://download.skype.com stable/non-free Packages
Ign http://www.lamaresh.net lenny/main Sources
Atingido ftp://ftp.debian.org lenny-proposed-updates Release.gpg
Ign http://ftp.br.debian.org lenny/main Sources/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Obter:3 http://download.virtualbox.org lenny Release.gpg [197B]
Atingido http://security.debian.org lenny/updates Release
Ign http://www.backports.org lenny-backports/non-free Translation-pt_BR
Ign http://ftp.br.debian.org lenny/contrib Sources/DiffIndex
Ign http://ftp.br.debian.org lenny/non-free Sources/DiffIndex
Atingido http://ftp.br.debian.org lenny-proposed-updates/main Packages/DiffIndex
Atingido http://ftp.br.debian.org lenny-proposed-updates/contrib Packages/DiffIndex
Atingido http://ftp.br.debian.org lenny-proposed-updates/non-free Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/contrib Packages/DiffIndex
Atingido http://ftp.br.debian.org lenny-proposed-updates/main Sources/DiffIndex
Ign http://www.lamaresh.net lenny/main Packages
Obter:4 ftp://ftp.debian.org lenny-proposed-updates/main Translation-pt_BR
Ign http://download.virtualbox.org lenny/non-free Translation-pt_BR
Atingido http://ftp.br.debian.org lenny-proposed-updates/contrib Sources/DiffIndex
Atingido http://download.virtualbox.org lenny Release
Err http://download.virtualbox.org lenny Release

Atingido http://ftp.br.debian.org lenny-proposed-updates/non-free Sources/DiffIndex
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Obter:5 http://download.virtualbox.org lenny Release [3457B]
Atingido http://ftp.br.debian.org lenny/main Packages
Ign http://download.virtualbox.org lenny Release
Atingido http://ftp.br.debian.org lenny/contrib Packages
Atingido http://www.backports.org lenny-backports Release
Atingido http://ftp.br.debian.org lenny/non-free Packages
Atingido http://www.backports.org lenny-backports/main Packages/DiffIndex
Atingido http://ftp.br.debian.org lenny/main Sources
Atingido http://www.backports.org lenny-backports/contrib Packages/DiffIndex
Atingido http://ftp.br.debian.org lenny/contrib Sources
Obter:6 http://www.backports.org lenny-backports/non-free Packages [7568B]
Ign http://volatile.debian.org lenny/volatile/non-free Packages/DiffIndex
Atingido http://ftp.br.debian.org lenny/non-free Sources
Atingido http://www.backports.org lenny-backports/main Packages
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://download.virtualbox.org lenny/non-free Packages/DiffIndex
Atingido http://download.virtualbox.org lenny/non-free Packages
Ign http://www.lamaresh.net lenny/main Sources
Atingido http://www.lamaresh.net lenny/main Packages
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Ign ftp://ftp.debian.org lenny-proposed-updates/main Translation-pt_BR
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/contrib Sources/DiffIndex
Err http://www.lamaresh.net lenny/main Sources
404 Not Found
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Atingido ftp://ftp.debian.org lenny-proposed-updates Release
Ign http://volatile.debian.org lenny/volatile/non-free Sources/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
Atingido http://volatile.debian.org lenny/volatile/main Packages
Atingido http://volatile.debian.org lenny/volatile/contrib Packages
Atingido ftp://ftp.debian.org lenny-proposed-updates/main Packages/DiffIndex
Atingido http://volatile.debian.org lenny/volatile/non-free Packages
Ign http://security.debian.org lenny/updates/non-free Sources/DiffIndex
Atingido http://volatile.debian.org lenny/volatile/main Sources
Atingido http://volatile.debian.org lenny/volatile/contrib Sources
Atingido http://security.debian.org lenny/updates/main Packages
Atingido http://security.debian.org lenny/updates/contrib Packages
Atingido http://volatile.debian.org lenny/volatile/non-free Sources
Atingido http://security.debian.org lenny/updates/non-free Packages
Atingido http://security.debian.org lenny/updates/main Sources
Atingido http://security.debian.org lenny/updates/contrib Sources
Atingido http://security.debian.org lenny/updates/non-free Sources
Baixados 5411B em 6s (865B/s)
W: GPG error: http://www.lamaresh.net lenny Release: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 905C75258D4B24D2
W: GPG error: http://download.virtualbox.org lenny Release: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 54422A4B98AB5139
W: Falhou ao buscar http://www.backports.org/debian/dists/lenny-backports/non-free/binary-i386/Packages.bz2 Hash Sum incorreto

W: Falhou ao buscar http://www.lamaresh.net/apt/dists/lenny/main/source/Sources 404 Not Found

E: Alguns arquivos de índice falharam para baixar, eles foram ignorados ou os antigos foram usados no lugar.
________________________________________________________________________________________

Então, o que fazer?

Desde ja agradeço a paciência!

até mais




  


2. Re: Erro no sources.list ao dar update [RESOLVIDO]

brunotec
brunotec

(usa Debian)

Enviado em 19/12/2010 - 14:19h

de esses comandos:



# apt-get install debian-archive-keyring debian-keyring debian-multimedia-keyring
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | apt-key add -
# wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
# wget -O - http://www.lamaresh.net/apt/key.gpg | sudo apt-key add -


depois:

# apt-get update



3. Re: Erro no sources.list ao dar update [RESOLVIDO]

brunotec
brunotec

(usa Debian)

Enviado em 19/12/2010 - 14:21h

putz.... ignore esse para o opera:

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

não rode ele!


4. Re: Erro no sources.list ao dar update [RESOLVIDO]

Sinésio Neto
warlocksn

(usa Arch Linux)

Enviado em 19/12/2010 - 14:27h

Opa brunotec

cara, segui o que vc informou a fazer... mas deu esse problema:
_________________________________________________________________
...
Atingido http://ftp.br.debian.org lenny/main Sources
Atingido http://ftp.br.debian.org lenny/contrib Sources
Atingido http://ftp.br.debian.org lenny/non-free Sources
Ign ftp://ftp.debian.org lenny-proposed-updates/main Translation-pt_BR
Atingido ftp://ftp.debian.org lenny-proposed-updates Release
Atingido ftp://ftp.debian.org lenny-proposed-updates/main Packages/DiffIndex
Baixados 26,9kB em 6s (4073B/s)
W: Falhou ao buscar http://www.lamaresh.net/apt/dists/lenny/Release Unable to find expected entry main/source/Sources in Meta-index file (malformed Release file?)

W: Falhou ao buscar http://www.backports.org/debian/dists/lenny-backports/non-free/binary-i386/Packages.bz2 Hash Sum incorreto

W: Falhou ao buscar http://ftp.br.debian.org/debian/dists/lenny-proposed-updates/main/source/Sources.bz2 Hash Sum incorreto

E: Alguns arquivos de índice falharam para baixar, eles foram ignorados ou os antigos foram usados no lugar.
_______________________________________________

não entendo... imagina o que pode ser?



5. Re: Erro no sources.list ao dar update [RESOLVIDO]

brunotec
brunotec

(usa Debian)

Enviado em 19/12/2010 - 14:34h

W: Falhou ao buscar http://www.backports.org/debian/dists/lenny-backports/non-free/binary-i386/Packages.bz2 Hash Sum incorreto




isso me parece algum erro no seu repositório!!



rode um :

#gedit /etc/apt/sources.list

e poste o conteúdo aqui para editarmos ele.


6. minha sources.list

Sinésio Neto
warlocksn

(usa Arch Linux)

Enviado em 19/12/2010 - 14:37h

#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos
deb http://ftp.br.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.br.debian.org/debian/ lenny main contrib non-free

###### Debian Update Repos
deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://ftp.br.debian.org/debian/ lenny-proposed-updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://ftp.br.debian.org/debian/ lenny-proposed-updates main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

##############################################################
##################### UNOFFICIAL REPOS ######################
##############################################################

###### 3rd Party Binary Repos

#### Debian Backports - http://www.backports.org
## Run this command: gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16BA136C && gpg --export 16BA136C | apt-key add -
deb http://www.backports.org/debian lenny-backports main contrib non-free

#### Debian Multimedia - http://www.debian-multimedia.org/
## Run this command: apt-get update && apt-get install debian-multimedia-keyring && apt-get update
deb http://www.debian-multimedia.org/ lenny main

#### Debian-Volatile for end users - http://www.debian.org/volatile/
## Run this command: apt-get install debian-archive-keyring
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

#### Lenny and a Half - http://wiki.debian.org/LennyAndAHalf
deb ftp://ftp.debian.org/debian lenny-proposed-updates main

#### Skype - www.skype.com
## Run this command: gpg --keyserver pgp.mit.edu --recv-keys 0xd66b746e && gpg --export --armor 0xd66b746e | apt-key add -
deb http://download.skype.com/linux/repos/debian/ stable non-free

#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc">http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | apt-key add -
deb http://download.virtualbox.org/virtualbox/debian lenny non-free

#### Wine - http://www.winehq.org/
## Run this command: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | apt-key add -
deb http://www.lamaresh.net/apt lenny main


####### 3rd Party Source Repos

#### Wine (Source) - http://www.winehq.org/
## Run this command: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | apt-key add -
deb-src http://www.lamaresh.net/apt lenny main

__________________________________________________________

é ela...


7. Re: Erro no sources.list ao dar update [RESOLVIDO]

Néscio Ignorante
Ignorante

(usa Slackware)

Enviado em 19/12/2010 - 14:38h

Achei algo parecido com o seu problema

http://www.vivaolinux.com.br/topico/Perguntas-nao-tao-frequentes/sources.list-%28nao-atualiza%29-ubu...



8. Re: Erro no sources.list ao dar update [RESOLVIDO]

brunotec
brunotec

(usa Debian)

Enviado em 19/12/2010 - 14:47h

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | apt-key add -

wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc">http://download.virtualbox.or... -O- | apt-key add -

gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16BA136C && gpg --export 16BA136C | apt-key add -



rode essas chaves no terminal e depois um apt-get update



9. Adriano Winkler

Sinésio Neto
warlocksn

(usa Arch Linux)

Enviado em 19/12/2010 - 14:47h

Pois é cara, quase que deu 100% certo
tipo:
________________________
....
Atingido http://www.backports.org lenny-backports/contrib Packages/DiffIndex
Atingido http://volatile.debian.org lenny/volatile/contrib Sources
Atingido http://security.debian.org lenny/updates/contrib Sources
Obter:7 http://www.backports.org lenny-backports/non-free Packages [8210B]
Atingido http://volatile.debian.org lenny/volatile/non-free Sources
Atingido http://security.debian.org lenny/updates/non-free Sources
Baixados 98,4kB em 10s (9712B/s)
W: Falhou ao buscar http://www.lamaresh.net/apt/dists/lenny/Release Unable to find expected entry main/source/Sources in Meta-index file (malformed Release file?)

E: Alguns arquivos de índice falharam para baixar, eles foram ignorados ou os antigos foram usados no lugar.
___________________________________________________

lamaresh teimoso... hehe

mas vou esperar a avaliação da minha sources.list pelo brunotec.. preciso aprender mais sobre o assunto


10. Re: Erro no sources.list ao dar update [RESOLVIDO]

brunotec
brunotec

(usa Debian)

Enviado em 19/12/2010 - 14:54h

vá até o arquivo souces.list e apague essas linhas:

####### 3rd Party Source Repos

#### Wine (Source) - http://www.winehq.org/
## Run this command: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | apt-key add -
deb-src http://www.lamaresh.net/apt lenny main





depois rode:

# wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | apt-key add -

#apt-get update


11. segue...

Perfil removido
removido

(usa Nenhuma)

Enviado em 19/12/2010 - 14:58h


http://pastebin.com/EscVjpFK

algumas coisas estão erradas ou são desnecessárias (a não ser que precise!).

1 - no debian multimedia falta a seção 'non-free'

2 - se adicionou o backports instale a chave com o apt-get ( apt-get install debian-backports-keyring )

3 - os repositórios deb-src são desnecessários para a maioria dos mortais, dentre os quais me incluo

4 - o repositório proposed-updates e hal-sei-la-o-que são a mesma coisa e desnecessários da mesma forma, é como baixar atualização de um pacote e quando o mesmo for para o repositório de segurança baixar dinovo.

5 - a chave do VirtualBox está errada.


siga o conteúdo do link e retorne;



12. deu certo !! ;)

Sinésio Neto
warlocksn

(usa Arch Linux)

Enviado em 19/12/2010 - 15:01h

brunotec e Adriano Winkler

Muito obrigado mesmo!! vlw pela paciência

Mas quero pedir só mais uma coisinha

@brunotec
Pra que serve mesmo essas chaves gpg? e o apt-key?



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts