apt-get não funciona

Iniciado por SoulFire, 29 de Outubro de 2010, 17:14

tópico anterior - próximo tópico

SoulFire

Meu problema é o seguinte, eu preciso instalar alguns programas utlizando o APT mas no meu Ubuntu a coisa não esta funcionando, eu testei varios source.list que encontrei na net e nada... vou colar algumas informaçoes do servidor.

Obrigado desde ja!


[[ Erro utilizando o comando apt-get ]] :

  root@bomsinalsrv:~# sudo apt-get update
Err http://www.backports.org lenny-backports Release.gpg
  Não foi possível conectar em www.backports.org:80 (194.8.57.6). - connect (110: Tempo esgotado para conexão)
Err http://www.backports.org/debian/ lenny-backports/main Translation-pt_BR
  Desabilitado para conectar com www.backports.org:http:
Err http://www.backports.org/debian/ lenny-backports/contrib Translation-pt_BR
  Desabilitado para conectar com www.backports.org:http:
Err http://www.backports.org/debian/ lenny-backports/non-free Translation-pt_BR
  Desabilitado para conectar com www.backports.org:http:
Ign http://www.backports.org lenny-backports Release
Ign http://www.backports.org lenny-backports/main Packages
Ign http://www.backports.org lenny-backports/contrib Packages
Ign http://www.backports.org lenny-backports/non-free Packages
Ign http://www.backports.org lenny-backports/main Packages
Ign http://www.backports.org lenny-backports/contrib Packages
Ign http://www.backports.org lenny-backports/non-free Packages
Err http://www.backports.org lenny-backports/main Packages
  Desabilitado para conectar com www.backports.org:http:
Err http://www.backports.org lenny-backports/contrib Packages
  Desabilitado para conectar com www.backports.org:http:
Err http://www.backports.org lenny-backports/non-free Packages
  Desabilitado para conectar com www.backports.org:http:
Err http://br.archive.ubuntu.com lucid Release.gpg
  Não foi possível conectar em br.archive.ubuntu.com:80 (200.17.202.1). - connect (110: Tempo esgotado para conexão)
Err http://br.archive.ubuntu.com/ubuntu/ lucid/main Translation-pt_BR
  Desabilitado para conectar com br.archive.ubuntu.com:http:
Err http://br.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-pt_BR
  Desabilitado para conectar com br.archive.ubuntu.com:http:
Err http://br.archive.ubuntu.com/ubuntu/ lucid/universe Translation-pt_BR
  Desabilitado para conectar com br.archive.ubuntu.com:http:
Err http://br.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-pt_BR
  Desabilitado para conectar com br.archive.ubuntu.com:http:
Err http://br.archive.ubuntu.com lucid-updates Release.gpg
  Desabilitado para conectar com br.archive.ubuntu.com:http:
Err http://br.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-pt_BR
  Desabilitado para conectar com br.archive.ubuntu.com:http:
Err http://br.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-pt_BR
  Desabilitado para conectar com br.archive.ubuntu.com:http:
Err http://br.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-pt_BR
  Desabilitado para conectar com br.archive.ubuntu.com:http:
Err http://br.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-pt_BR
  Desabilitado para conectar com br.archive.ubuntu.com:http:
Ign http://br.archive.ubuntu.com lucid Release
Ign http://br.archive.ubuntu.com lucid-updates Release

". . . "


[[ source.list ]] :


#deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://br.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid universe
deb http://br.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://br.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://br.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse



#
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 NETINST Binary-1 20090906-12:06]/ lenny main

# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 NETINST Binary-1 20090906-12:06]/ lenny main

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

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

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

deb http://www.backports.org/debian lenny-backports main contrib non-free

deb http://ftp.br.debian.org/debian-multimedia/ lenny main


[[ Versão ]]:

Ubuntu 10.04.1 LTS \n \l


[[ Teste de Ping ]] :

root@bomsinalsrv:~# ping google.com
PING google.com (64.233.163.104) 56(84) bytes of data.
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=1 ttl=53 time=30.8 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=2 ttl=54 time=31.7 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=3 ttl=54 time=32.8 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=4 ttl=53 time=31.3 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=5 ttl=54 time=36.8 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=6 ttl=53 time=32.0 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=7 ttl=53 time=31.7 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=8 ttl=54 time=36.7 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=9 ttl=54 time=31.9 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=10 ttl=53 time=37.0 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=11 ttl=53 time=44.4 ms
64 bytes from bs-in-f104.1e100.net (64.233.163.104): icmp_seq=12 ttl=54 time=34.7 ms
^C
--- google.com ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 11016ms
rtt min/avg/max/mdev = 30.882/34.367/44.466/3.761 ms



P.S: Firewall sem nenhuma regra

JoseMelo

Sua sources list está toda bagunçada com Ubuntu misturado com Debian.

Acesse esta página: http://repogen.simplylinux.ch/
- Selecione o país;
- Selecione a versão do Ubuntu;

Marque tudo até Ubuntu Partner Repos. Caso queira marcar mais algum, nenhum problema.

Role a página até o final e clique em "Generate List".
Copie a lista.

Edite sua sources.list:

sudo gedit /etc/apt/sources.list

Apague tudo da list, cole o que foi gerado anteriormente e salve.

sudo apt-get update

Agora deve funcionar.

SoulFire

Mesmo assim não funciona....

utulizei o site e ficou assim meu source.list:

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://br.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse


#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://br.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse


mas persiste os erros :(

cesargcomp

Antes de continuar as tentativas, precisamos saber qual é a versão do seu SO.
Digite o comando a seguir:
lsb_release -a

Cole o resultado aqui e veremos o que pode ser feito.
Use Ubuntu. Segurança, facilidade e gratuidade em suas mãos.

Escorpiao512

#4
Citação de: SoulFire online 05 de Novembro de 2010, 08:38
Mesmo assim não funciona....

utulizei o site e ficou assim meu source.list:

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://br.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse


#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://br.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse


mas persiste os erros :(


Oi amigo.
Você usa Proxy para acessar a net? Ou não? Estou com um problema parecido e resolvi com uma solução do usuário Tutancamon (http://ubuntuforum-br.org/index.php/topic,39347.0.html).
Abraço e dá uma olhada na mensagem.
Jesus está vindo...
mas o diabo já está aqui!

SoulFire

Boa scorpiao era isso mesmo... deu certo !

obrigado