Problemas com apt-get update

1. Problemas com apt-get update

maximus hunter
max_hunter

(usa Debian)

Enviado em 30/04/2009 - 10:59h

Estou tentando atualizar os pacotes de minha máquina, para pode instalar o Postgres, mas faz três dias que tento fazer isso e não consigo. E não queo ter que baixar pacote por pacote, que será um trabalho colossal. Nas demais máquinas funciona, somente essa não.

Quando eu tento o 'apt-get update' aparece as seguintes mensagens:

mosqueiro:~# apt-get update
Err http://debian.pop-sc.rnp.br etch Release.gpg
Could not connect to debian.pop-sc.rnp.br:80 (2001:12f0:200::15). - connect (113 No route to host) [IP: 2001:12f0:200::15 80]
Ign http://debian.pop-sc.rnp.br etch Release
Err http://debian.pop-sc.rnp.br etch/main Packages
Could not connect to debian.pop-sc.rnp.br:80 (2001:12f0:200::15). - connect (113 No route to host) [IP: 2001:12f0:200::15 80]
Err http://debian.pop-sc.rnp.br etch/main Sources
Could not connect to debian.pop-sc.rnp.br:80 (2001:12f0:200::15). - connect (113 No route to host) [IP: 2001:12f0:200::15 80]
Err http://security.debian.org etch/updates Release.gpg
Could not connect to security.debian.org:80 (195.20.242.89). - connect (113 No route to host) [IP: 195.20.242.89 80]
Ign http://security.debian.org etch/updates Release
Err http://security.debian.org etch/updates/main Packages
Could not connect to security.debian.org:80 (195.20.242.89). - connect (113 No route to host) [IP: 195.20.242.89 80]
Err http://security.debian.org etch/updates/contrib Packages
Could not connect to security.debian.org:80 (195.20.242.89). - connect (113 No route to host) [IP: 195.20.242.89 80]
Err http://security.debian.org etch/updates/main Sources
Could not connect to security.debian.org:80 (195.20.242.89), connection timed out
25% [Connecting to security.debian.org (149.20.20.6)]
Err http://security.debian.org etch/updates/contrib Sources
Could not connect to security.debian.org:80 (195.20.242.89). - connect (113 No route to host) [IP: 195.20.242.89 80]
Failed to fetch http://debian.pop-sc.rnp.br/debian/dists/etch/Release.gpg Could not connect to debian.pop-sc.rnp.br:80 (2001:12f0:200::15). - connect (113 No route to host) [IP: 2001:12f0:200::15 80]
Failed to fetch http://security.debian.org/dists/etch/updates/Release.gpg Could not connect to security.debian.org:80 (195.20.242.89). - connect (113 No route to host) [IP: 195.20.242.89 80]
Failed to fetch http://debian.pop-sc.rnp.br/debian/dists/etch/main/binary-i386/Packages.gz Could not connect to debian.pop-sc.rnp.br:80 (2001:12f0:200::15). - connect (113 No route to host) [IP: 2001:12f0:200::15 80]
Failed to fetch http://debian.pop-sc.rnp.br/debian/dists/etch/main/source/Sources.gz Could not connect to debian.pop-sc.rnp.br:80 (2001:12f0:200::15). - connect (113 No route to host) [IP: 2001:12f0:200::15 80]
Failed to fetch http://security.debian.org/dists/etch/updates/main/binary-i386/Packages.gz Could not connect to security.debian.org:80 (195.20.242.89). - connect (113 No route to host) [IP: 195.20.242.89 80]
Failed to fetch http://security.debian.org/dists/etch/updates/contrib/binary-i386/Packages.gz Could not connect to security.debian.org:80 (195.20.242.89). - connect (113 No route to host) [IP: 195.20.242.89 80]
Failed to fetch http://security.debian.org/dists/etch/updates/main/source/Sources.gz Could not connect to security.debian.org:80 (195.20.242.89), connection timed out
Failed to fetch http://security.debian.org/dists/etch/updates/contrib/source/Sources.gz Could not connect to security.debian.org:80 (195.20.242.89). - connect (113 No route to host) [IP: 195.20.242.89 80]
Reading package lists... Done
W: Couldn't stat source package list http://debian.pop-sc.rnp.br etch/main Packages (/var/lib/apt/lists/debian.pop-sc.rnp.br_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org etch/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.



  


2. Re: Problemas com apt-get update

Guilherme Couto
guilhermeapc

(usa Slackware)

Enviado em 30/04/2009 - 11:10h

Verifique se a internet está funcionando nesse computador.


3. Arquivo "sources.list"

Darlan Picetti
Darlan Picetti

(usa CentOS)

Enviado em 30/04/2009 - 11:11h

cara, faz o seguinte, cria um arquivo txt com o seguinte conteudo, pode copiar e colar mesmo ok,




## Mirrors Diginet
# deb http://mirrors.digi.com.br/ubuntu/ feisty main restricted
# deb http://mirrors.digi.com.br/ubuntu/ feisty universe
# deb http://mirrors.digi.com.br/ubuntu/ feisty multiverse

# deb http://mirrors.digi.com.br/ubuntu/ feisty-security main restricted
# deb http://mirrors.digi.com.br/ubuntu/ feisty-security universe
# deb http://mirrors.digi.com.br/ubuntu/ feisty-security multiverse


# deb http://dotdeb.pimpmylinux.org/ stable all
deb http://br.archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse #Added by software-properties
# deb-src http://dotdeb.pimpmylinux.org/ stable all

#AUTOMATIX REPOS START

# deb http://www.getautomatix.com/apt feisty main

deb http://archive.canonical.com/ubuntu hardy partner

deb http://br.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse #Added by software-properties

deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse #Added by software-properties

deb http://br.archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse #Added by software-properties
#AUTOMATIX REPOS END

# deb http://download.tuxfamily.org/3v1deb feisty 3v1n0
# deb-src http://download.tuxfamily.org/3v1deb feisty 3v1n0

# deb http://jgoguen.ca/repo mercury release pre-release


deb http://download.skype.com/linux/repos/debian/ stable non-free


Fim do conteudo,

salve o arquivo com o nome "sources.list" sem aspas e copie pro diretorio /etc/apt

depois tente o apt-get update novamente, deve funcionar.


Vlw.


4. OBS*

Darlan Picetti
Darlan Picetti

(usa CentOS)

Enviado em 30/04/2009 - 11:26h

A internet tem que esta funcionando tambem néh meu, caso o contrário ele não consegue se conctar aos servidores.


5. Re: Problemas com apt-get update

maximus hunter
max_hunter

(usa Debian)

Enviado em 30/04/2009 - 14:59h

É claro que a internet está funcionando.


6. Re: Problemas com apt-get update

WILLIAN VITOR DO AMOR
willsazon

(usa Ubuntu)

Enviado em 05/05/2009 - 08:37h

ai vc ja resolveu?


7. Re: Problemas com apt-get update

maximus hunter
max_hunter

(usa Debian)

Enviado em 08/05/2009 - 11:25h

Eu consegui uma dia desses, mas agora preciso instalar o vmware e novamente estou com o mesmo problema. E é somente em uma máquina.
Eu consigo dar ping nos endereços dos sources, e achei estranho o tempo de resposta que está muito alto.
Será que não é problema de timeout na fonte de dados?


8. Re: Problemas com apt-get update

Daniel Fernandes
volcom

(usa Debian)

Enviado em 08/05/2009 - 11:34h

Pode ser problema físico...placa de rede, cabo de rede...já tentou trocar e fazer um teste?


9. Re: Problemas com apt-get update

Andre Silva
andre_atos

(usa Debian)

Enviado em 12/05/2009 - 11:06h

Qual seu tipo de conexão com a internet?






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts