apt-get não funciona! [RESOLVIDO]

1. apt-get não funciona! [RESOLVIDO]

Tiago Morais Coelho
nafo

(usa Debian)

Enviado em 15/09/2009 - 00:13h

Olá pessoal, tenho aqui um debian lenny e meu apt-get não funciona!
Fui no site que um colega indicou de gerar um sources.list, gostei do site muito simples! Então criei e substituí e fui testar com o apt-get update.. vixx.. sem melhoras..

o sources.list:
#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos
deb http://http.us.debian.org/debian/">http://http.us.debian.org/debian/ lenny contrib
deb-src http://http.us.debian.org/debian/">http://http.us.debian.org/debian/ lenny contrib

###### Debian Update Repos
#deb http://security.debian.org/ lenny/updates contrib
deb http://http.us.debian.org/debian/">http://http.us.debian.org/debian/ lenny-proposed-updates contrib
deb-src http://http.us.debian.org/debian/">http://http.us.debian.org/debian/ lenny/updates contrib
deb-src http://http.us.debian.org/debian/">http://http.us.debian.org/debian/ lenny-proposed-updates contrib

##############################################################
##################### 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/">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/">http://www.debian-multimedia.org/ lenny main

#### Debian Unofficial - http://debian-unofficial.org/
## Run this command: apt-get install debian-unofficial-archive-keyring
deb http://ftp.debian-unofficial.org/debian">http://ftp.debian-unofficial.org/debian lenny main contrib non-free restricted

#### Google Linux Software Repositories - http://www.google.com
## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && apt-get update
deb http://dl.google.com/linux/deb/">http://dl.google.com/linux/deb/ stable all

#### Lenny and a Half - http://wiki.debian.org/LennyAndAHalf

#### 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/virtualb">http://download.virtualbox.org/virtualb ... n_vbox.asc -O- | apt-key add -
deb http://download.virtualbox.org/virtualb">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">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">http://www.lamaresh.net/apt lenny main

o resultado:

z510:/etc/apt# apt-get update
Obter:1 http://dl.google.com stable Release.gpg [191B]
Obter:2 http://http.us.debian.org lenny Release.gpg [1032B]
Ign http://http.us.debian.org lenny/contrib Translation-pt_BR
Obter:3 http://download.virtualbox.org lenny Release.gpg [197B]
Ign http://download.virtualbox.org lenny/non-free Translation-pt_BR
Ign http://dl.google.com stable/all Translation-pt_BR
Obter:4 http://www.debian-multimedia.org lenny Release.gpg [198B]
Atingido http://www.debian-multimedia.org lenny/main Translation-pt_BR
Ign http://ftp.debian-unofficial.org lenny Release.gpg
Ign http://ftp.debian-unofficial.org lenny/main Translation-pt_BR
Obter:5 http://www.lamaresh.net lenny Release.gpg [197B]
Ign http://www.lamaresh.net lenny/main Translation-pt_BR
Obter:6 http://dl.google.com stable Release [1310B]
Ign http://dl.google.com stable Release
Obter:7 http://www.backports.org lenny-backports Release.gpg [189B]
Ign http://www.backports.org lenny-backports/main Translation-pt_BR
Ign http://dl.google.com stable/all Packages
Ign http://www.backports.org lenny-backports/contrib Translation-pt_BR
Ign http://www.backports.org lenny-backports/non-free Translation-pt_BR
Ign http://dl.google.com stable/all Packages
Err http://dl.google.com stable/all Packages
404 Not Found [IP: 64.233.163.93 80]
99% [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguar

Aí fica nessa de aguardando e não sai mais...

Será que estou infrentando esse problema pelo mesmo motivo que estou nesse outro post?:
viewtopic.php?f=3&t=10707


  


2. Re: apt-get não funciona! [RESOLVIDO]

Genesco Sousa
gesousa

(usa Ubuntu)

Enviado em 15/09/2009 - 01:14h

Sua source está com link errado ...

Aqui:
deb-src http://http.us.debian.org/debian/">http://http.us.debian.org/debian/">http://http.us.debian.org/debian/">http://http.us.debian.org/debian/ lenny contrib

devia ser:

deb-src http://http.us.debian.org/debian/ lenny contrib


e assim por diante ... há uma copia extra do link do site em todas as linhas ...

devia ser assim:


###### Debian Main Repos
deb http://http.us.debian.org/debian/ lenny contrib
deb-src http://http.us.debian.org/debian/ lenny contrib

###### Debian Update Repos
#deb http://security.debian.org/ lenny/updates contrib
deb http://http.us.debian.org/debian/ lenny-proposed-updates contrib
deb-src http://http.us.debian.org/debian/ lenny/updates contrib
deb-src http://http.us.debian.org/debian/ lenny-proposed-updates contrib

##############################################################
##################### 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 Unofficial - http://debian-unofficial.org/
## Run this command: apt-get install debian-unofficial-archive-keyring
deb http://ftp.debian-unofficial.org/debian lenny main contrib non-free restricted

#### Google Linux Software Repositories - http://www.google.com
## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && apt-get update
deb http://dl.google.com/linux/deb/ stable all

#### Lenny and a Half - http://wiki.debian.org/LennyAndAHalf

#### 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/virtualb ... n_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



3. [RESOLVIDO]

Tiago Morais Coelho
nafo

(usa Debian)

Enviado em 15/09/2009 - 07:41h

Ai gente!!! A internet que não estava funcionando!!
O que eu fiz foi desinstalar o pacote ppoeoconf
E reinstalar.. mas com os pacotes adicionais
Criei uma pasta com os pacotes de pppoe:

z510:/media/dados/Linux/pppoe# ls
pppoe_3.8-3_i386.deb pppoeconf_1.18_all.deb pppstatus_0.4.2-10_i386.deb

Ai instalei com: dpkg -i *.deb

Ai funcionou beleza a internet!! Então funcionou beleza o apt-get !!! valew!!!!


4. Re: apt-get não funciona! [RESOLVIDO]

Hythalo Henrique
hythalo

(usa Ubuntu)

Enviado em 26/11/2011 - 12:28h

Opaaa!!!
consegui resolver um problema desse tipo ([Aguardando por cabeçalhos])
tive que instalar o pacote "pppoe" - aptitude install pppoe (esse pacote é um driver Ethernet sobre PPP.)
estão fica a dica para quem está com esse probema ;)
obs.: estou usando o Ubuntu 11.10 amd64







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts