Autor Tópico: Problema com apt-get update [Resolvido]  (Lida 40680 vezes)

Offline vicktorjunior

  • Usuário Ubuntu
  • *
  • Mensagens: 46
  • Um ex-windows user, tentando viver no mundo "open"
    • Ver perfil
Problema com apt-get update [Resolvido]
« Online: 27 de Outubro de 2013, 14:16 »
Amigos,

Sempre usei esse fórum como visitante para solucionar minhas dúvidas. E quase sempre obtive sucesso.
"Quase sempre" pq agora não estou conseguindo solucionar um problema com o "apt-get update".
E por esse motivo que me registrei no fórum!
Não me desapontem! hahahahaha!

Eis o que acontece.
Toda vez que tento executar o apt-get update pelo terminal, ele leva uma eternidade para carregar e fica, constantemente, com a mensagem "aguardando por cabeçalhos" e não sai disso.

Segue o que aparece quando tento executar o comando:

Citar
Err http://br.archive.ubuntu.com precise Release.gpg                                                                                        
  Conexão falhou
Err http://dl.google.com stable Release.gpg                                                                                                  
  Conexão falhou
Err http://deb.opera.com stable Release.gpg                                                                                                  
  Conexão falhou
Err http://download.opensuse.org ./ Release.gpg                                                                                              
  Conexão falhou
Err http://archive.getdeb.net precise-getdeb Release.gpg                                                                                    
  Conexão falhou
Err http://archive.canonical.com precise Release.gpg                                                                                        
  Conexão falhou
Err http://ppa.launchpad.net precise Release.gpg                                                                                            
  Conexão falhou
Err http://extras.ubuntu.com precise Release.gpg                                                                                            
  Conexão falhou
Err http://packages.dorkfolio.net precise Release.gpg                                                                                        
  Conexão falhou
Err http://deb.playonlinux.com precise Release.gpg                                                                                          
  Conexão falhou
Ign http://archive.getdeb.net precise-getdeb Release                                                                                        
Err http://dl.google.com stable Release.gpg                                                                                                  
  Conexão falhou
Err http://deb.torproject.org precise Release.gpg                                                                                            
  Conexão falhou
Err http://www.fbreader.org stable Release.gpg                                                                                              
  Conexão falhou
Err http://download.virtualbox.org precise Release.gpg                                                                                      
  Conexão falhou
2% [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeç^Cjunijunior@Junior:~$ sudo dpkg --configure -a
junior@Junior:~$ sudo apt-get update
Err http://packages.dorkfolio.net precise Release.gpg                          
  Conexão falhou
Err http://download.virtualbox.org precise Release.gpg                        
  Conexão falhou
Err http://extras.ubuntu.com precise Release.gpg                              
  Conexão falhou
Err http://deb.playonlinux.com precise Release.gpg                            
  Conexão falhou
Err http://deb.torproject.org precise Release.gpg                              
  Conexão falhou
Err http://archive.canonical.com precise Release.gpg                          
  Conexão falhou
Err http://ppa.launchpad.net precise Release.gpg                              
  Conexão falhou
Err http://deb.opera.com stable Release.gpg                                    
  Conexão falhou
Err http://www.fbreader.org stable Release.gpg                                
  Conexão falhou
Err http://dl.google.com stable Release.gpg                                    
  Conexão falhou
Ign http://deb.playonlinux.com precise Release                                
Err http://download.opensuse.org ./ Release.gpg                                
  Conexão falhou
Err http://archive.getdeb.net precise-getdeb Release.gpg                      
  Conexão falhou
Err http://br.archive.ubuntu.com precise Release.gpg                          
  Conexão falhou
Ign http://packages.dorkfolio.net precise Release                              
Ign http://deb.opera.com stable Release                                        
Ign http://extras.ubuntu.com precise Release                                  
Ign http://deb.torproject.org precise Release                                  
Err http://download.virtualbox.org $(lsb_release Release.gpg                  
  Conexão falhou
Ign http://www.fbreader.org stable Release                                    
Ign http://archive.canonical.com precise Release                              
Err http://br.archive.ubuntu.com precise-security Release.gpg                  
  Conexão falhou
Err http://ppa.launchpad.net precise Release.gpg                              
  Conexão falhou
Err http://dl.google.com stable Release.gpg                                    
  Conexão falhou
Ign http://archive.getdeb.net precise-getdeb Release                          
Err http://ppa.launchpad.net precise Release.gpg                              
  Linha de cabeçalho ruim
Ign http://download.virtualbox.org precise Release                            
Ign http://download.opensuse.org ./ Release                                    
Ign http://deb.opera.com stable/non-free i386 Packages/DiffIndex              
Ign http://deb.torproject.org precise/main TranslationIndex                    
Err http://br.archive.ubuntu.com precise-updates Release.gpg                  
  Conexão falhou
Ign http://archive.canonical.com precise/partner i386 Packages/DiffIndex      
Ign http://deb.opera.com stable/non-free TranslationIndex                      
Ign http://packages.dorkfolio.net precise/main TranslationIndex                
Ign http://archive.canonical.com precise/partner TranslationIndex              
Ign http://archive.getdeb.net precise-getdeb/apps TranslationIndex            
Ign http://deb.playonlinux.com precise/main TranslationIndex                                                                                
Err http://dl.google.com stable Release.gpg                                                                                                  
  Conexão falhou
Err http://ppa.launchpad.net precise Release.gpg                                                                                            
  Conexão falhou
Ign http://download.virtualbox.org $(lsb_release Release                                                                                    
Ign http://extras.ubuntu.com precise/main TranslationIndex                                                                                  
Err http://br.archive.ubuntu.com precise-proposed Release.gpg                                                                                
  Conexão falhou
Ign http://www.fbreader.org stable/main TranslationIndex                                                                                    
Err http://dl.google.com testing Release.gpg                                                                                                
  Conexão falhou
Err http://ppa.launchpad.net precise Release.gpg                                                                                            
  Conexão falhou
Ign http://download.virtualbox.org precise/contrib TranslationIndex                                                                          
12% [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabe

E esse é meu arquivo sources.list:

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

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

###### Ubuntu Update Repos
deb http://br.archive.ubuntu.com/ubuntu/ precise-security main universe
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates main universe
deb http://br.archive.ubuntu.com/ubuntu/ precise-proposed main universe
deb http://br.archive.ubuntu.com/ubuntu/ precise-backports main universe
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-security main
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-updates main

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main

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

###### 3rd Party Binary Repos

#### Audacity - http://audacity.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BB901940
deb http://ppa.launchpad.net/audacity-team/daily/ubuntu precise main

#### Banshee - https://edge.launchpad.net/~banshee-team
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6E80C6B7
deb http://ppa.launchpad.net/banshee-team/ppa/ubuntu precise main

#### Cairo Composite Manager - http://cairo-compmgr.tuxfamily.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 75198A89
deb http://ppa.launchpad.net/shnatsel/cairo-compmgr/ubuntu precise main

#### CoreAVC-for-Ubuntu  - http://code.google.com/p/coreavc-for-linux/w/list
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEEB23232
deb http://ppa.launchpad.net/ripps818/coreavc/ubuntu precise main

#### Cortina - https://launchpad.net/~cs-sniffer/+archive/cortina
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CA186228
deb http://ppa.launchpad.net/cs-sniffer/cortina/ubuntu precise main

#### DeaDBeeF - http://deadbeef.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3C8E2A7F
deb http://ppa.launchpad.net/alexey-smirnov/deadbeef/ubuntu precise main

#### Dorkfolio Kernel Repository - http://www.dorkfolio.net/
## Run this command: gpg --keyserver keyserver.ubuntu.com --recv-keys F8274BD4 && sudo gpg --armor --export F8274BD4 | sudo apt-key add -
deb http://packages.dorkfolio.net/ubuntu precise main

#### Equinox - https://launchpad.net/~tiheum/+archive/equinox
## Run this command: sudo apt-get update && sudo apt-get install faenza-icon-theme && sudo apt-get install equinox-theme    
deb http://ppa.launchpad.net/tiheum/equinox/ubuntu precise main

#### Esmska - http://code.google.com/p/esmska/
## Run this command: wget -q -O - http://download.opensuse.org/repositories/Java:/esmska/common-deb/Release.key | sudo apt-key add -
deb http://download.opensuse.org/repositories/Java:/esmska/common-deb/ ./ #Esmska

#### FBReader - http://www.fbreader.org/desktop/
## Run this command: wget http://www.fbreader.org/desktop/debian/geometer.fbreader.org.asc -O- | sudo apt-key add -
deb http://www.fbreader.org/desktop/debian stable main

#### Flacon - http://kde-apps.org/content/show.php?content=113388
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F2A61FE5
deb http://ppa.launchpad.net/flacon/ppa/ubuntu precise main

#### GCstar - http://www.gcstar.org/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5BE6AD9A
deb http://ppa.launchpad.net/gcstar/gcstar-dev/ubuntu precise main

#### GetDeb - http://www.getdeb.net
## Run this command: wget -q -O- http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
deb http://archive.getdeb.net/ubuntu precise-getdeb apps

#### Gimp - https://launchpad.net/~otto-kesselgulasch/+archive/gimp
## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 614C4B38
deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu precise main

#### Glx-Dock / Cairo-Dock - http://www.glx-dock.org
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E80D6BF5
deb http://ppa.launchpad.net/cairo-dock-team/weekly/ubuntu precise  main

#### GNOME3 extra apps - https://launchpad.net/~gnome3-team/+archive/gnome3
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B1510FD
deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu precise main

#### GNUzilla and IceCat - http://www.gnu.org/software/gnuzilla/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
deb http://ppa.launchpad.net/gnuzilla-team/ppa/ubuntu precise main  

#### Google Chrome Browser - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/chrome/deb/ stable main

#### Google Earth - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/earth/deb/ stable main

#### Google Linux Software Repositories - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/deb/ stable non-free

#### Google Linux Software Repositories (Testing) - http://www.google.com/linuxrepositories/
## Run this command: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add  -
deb http://dl.google.com/linux/deb/ testing non-free

#### Gwibber (Daily) - https://launchpad.net/gwibber
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72D340A3
deb http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu precise main

#### HandBrake Snapshots - http://handbrake.fr/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 816950D8
deb http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu precise main

#### Ironhide - https://launchpad.net/~mj-casalogic/+archive/ironhide/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ECF7E0B3
deb http://ppa.launchpad.net/mj-casalogic/ironhide/ubuntu precise main

#### JDownloader PPA - https://launchpad.net/~jd-team
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6A68F637
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu precise main

#### Jupiter - http://www.webupd8.org/2010/07/jupiter-ubuntu-ppa-hardware-and-power.html
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
deb http://ppa.launchpad.net/webupd8team/jupiter/ubuntu precise main

#### LibreOffice - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main

#### Opera - http://www.opera.com/
## Run this command: sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
deb http://deb.opera.com/opera/ stable non-free

#### Pidgin - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu precise main

#### PlayOnLinux - http://www.playonlinux.com/en
## Run this command: wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
deb http://deb.playonlinux.com/ precise main

#### qBittorrent - http://qbittorrent.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47B4D1C4
deb http://ppa.launchpad.net/hydr0g3n/ppa/ubuntu precise main

#### Tor: anonymity online - http://www.torproject.org/
## Run this command: gpg --keyserver subkeys.pgp.net --recv 886DDD89 && gpg --export --armor 886DDD89  | sudo apt-key add -
deb http://deb.torproject.org/torproject.org precise main

#### Ubuntu Tweak - http://ubuntu-tweak.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
deb http://ppa.launchpad.net/tualatrix/ubuntu precise main

#### UNetbootin - http://unetbootin.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FC91AE7E
deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu precise main

#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
deb http://download.virtualbox.org/virtualbox/debian precise contrib

#### Wine - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command:  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main

Inclusive, já mudei várias vezes o sources.list seguindo várias dicas deste fórum e não tive sucesso.

Caso alguém possa me ajudar, serei eternamente grato. (exagerado assim mesmo...)

Abraços,
Victor Junior
« Última modificação: 28 de Outubro de 2013, 21:27 por vicktorjunior »
Não me siga, estou perdido.

Offline pylm69

  • Usuário Ubuntu
  • *
  • Mensagens: 476
    • Ver perfil
Re: Problema com apt-get update
« Resposta #1 Online: 27 de Outubro de 2013, 14:18 »
vc mesmo respondeu seu tópico ¬¬ leia direito o sources.list que vc mesmo postou ¬¬
Rolling Release é o máximo \o/

Offline vicktorjunior

  • Usuário Ubuntu
  • *
  • Mensagens: 46
  • Um ex-windows user, tentando viver no mundo "open"
    • Ver perfil
Re: Problema com apt-get update
« Resposta #2 Online: 27 de Outubro de 2013, 14:22 »
Desculpe pylm69.

Não entendo muito de linux.
Pode me ajudar diretamente?

Obrigado.
Não me siga, estou perdido.

Offline Arthur Bernardes

  • Usuário Ubuntu
  • *
  • Mensagens: 4.692
    • Ver perfil
Re: Problema com apt-get update
« Resposta #3 Online: 27 de Outubro de 2013, 14:27 »
Você usa mesmo todas essas PPA's aí?

Qual a versão do seu Ubuntu?

Offline vicktorjunior

  • Usuário Ubuntu
  • *
  • Mensagens: 46
  • Um ex-windows user, tentando viver no mundo "open"
    • Ver perfil
Re: Problema com apt-get update
« Resposta #4 Online: 27 de Outubro de 2013, 14:28 »
Arthur, eu peguei este arquivo da internet em um gerador de sources para Ubuntu.

Como falei anteriormente, não entendo muito de Linux.

Tenho a versão 12.04 LTS.
Não me siga, estou perdido.

Offline Arthur Bernardes

  • Usuário Ubuntu
  • *
  • Mensagens: 4.692
    • Ver perfil
Re: Problema com apt-get update
« Resposta #5 Online: 27 de Outubro de 2013, 14:37 »
Vamos lá, abra sua sources.list com um editor de texto de sua preferência (vi, vim, nano, pico, gedit, pluma, etc...) e apague todo o conteúdo do arquivo, e cole o conteúdo abaixo.

Código: (/etc/apt/sources.list) [Selecionar]
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

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

###### Ubuntu Update Repos
deb http://br.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

Depois, execute os seguintes comandos abaixo.

Código: ($) [Selecionar]
sudo rm -r /var/lib/apt/lists/* ; sudo apt-get autoclean ; sudo apt-get autoremove --purge ; sudo apt-get update ; sudo apt-get upgrade ; sudo apt-get dist-upgrade

Offline vicktorjunior

  • Usuário Ubuntu
  • *
  • Mensagens: 46
  • Um ex-windows user, tentando viver no mundo "open"
    • Ver perfil
Re: Problema com apt-get update
« Resposta #6 Online: 27 de Outubro de 2013, 14:43 »
Obrigado pelo retorno, Arthur.

Estou executando os comandos após ter alterado a lista de sources.

Já aviso quando terminar.
Não me siga, estou perdido.

Offline vicktorjunior

  • Usuário Ubuntu
  • *
  • Mensagens: 46
  • Um ex-windows user, tentando viver no mundo "open"
    • Ver perfil
Re: Problema com apt-get update
« Resposta #7 Online: 27 de Outubro de 2013, 14:50 »
Arthur,

Deletei tudo o que tinha dentro do sources.list e comecei a executar os comandos que você me indicou.

Após executar o "sudo apt-get autoremove --purge" eu fui executar o "sudo apt-get update" e tudo se manteve na mesma:

Citar
sudo apt-get update
Err http://download.virtualbox.org $(lsb_release Release.gpg                                                                                 
  Conexão falhou
Err http://archive.canonical.com precise Release.gpg                                                                                         
  Conexão falhou
Err http://deb.opera.com stable Release.gpg                                                                                                 
  Conexão falhou
Ign http://deb.opera.com stable Release                                                                                                     
Err http://extras.ubuntu.com precise Release.gpg                                                                                                   
  Conexão falhou
Err http://br.archive.ubuntu.com precise Release.gpg                                                                                               
  Conexão falhou
Ign http://archive.canonical.com precise Release                                                                                                   
Ign http://download.virtualbox.org $(lsb_release Release                                                                                     s
Ign http://deb.opera.com stable/non-free TranslationIndex                                                                                   
15% [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabe

O que me sugere agora?
Não me siga, estou perdido.

Offline pylm69

  • Usuário Ubuntu
  • *
  • Mensagens: 476
    • Ver perfil
Re: Problema com apt-get update
« Resposta #8 Online: 27 de Outubro de 2013, 14:50 »
 Na list inteira tem comandos pedindo pra ser rodados pra pegar as keys, vc não tem as keys, é óbvio, ai a última, só de exemplo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
Rolling Release é o máximo \o/

Offline vicktorjunior

  • Usuário Ubuntu
  • *
  • Mensagens: 46
  • Um ex-windows user, tentando viver no mundo "open"
    • Ver perfil
Re: Problema com apt-get update
« Resposta #9 Online: 27 de Outubro de 2013, 14:53 »
Entendi pylm69!

Agora já alterei a list inteira para a que o Arthur me indicou.

Eu já havia alterado a list diversas vezes para ver se o erro mudava... E não teve resultado.

:/
Não me siga, estou perdido.

Offline vicktorjunior

  • Usuário Ubuntu
  • *
  • Mensagens: 46
  • Um ex-windows user, tentando viver no mundo "open"
    • Ver perfil
Re: Problema com apt-get update
« Resposta #10 Online: 27 de Outubro de 2013, 15:17 »
Atualizando a situação:

Meu apt-get update continua rodando, lentamente:
Citar
sudo apt-get update
Err http://download.virtualbox.org $(lsb_release Release.gpg                                                                                 
  Conexão falhou
Err http://archive.canonical.com precise Release.gpg                                                                                         
  Conexão falhou
Err http://deb.opera.com stable Release.gpg                                                                                                 
  Conexão falhou
Ign http://deb.opera.com stable Release                                                                                                     
Err http://extras.ubuntu.com precise Release.gpg                                                                                                   
  Conexão falhou
Err http://br.archive.ubuntu.com precise Release.gpg                                                                                               
  Conexão falhou
Ign http://archive.canonical.com precise Release                                                                                                   
Ign http://download.virtualbox.org $(lsb_release Release                                                                                     s
Ign http://deb.opera.com stable/non-free TranslationIndex                                                                                   
Ign http://extras.ubuntu.com precise Release                                                                                                 
Err http://br.archive.ubuntu.com precise-security Release.gpg                                                                               
  Conexão falhou
Ign http://download.virtualbox.org $(lsb_release/-sc) TranslationIndex                                                                       
Err http://br.archive.ubuntu.com precise-updates Release.gpg                                                                                 
  Conexão falhou
Ign http://download.virtualbox.org $(lsb_release/contrib TranslationIndex                                                                   
Ign http://archive.canonical.com precise/partner TranslationIndex                                                                           
Err http://br.archive.ubuntu.com precise-backports Release.gpg                                                                               
  Conexão falhou
Ign http://extras.ubuntu.com precise/main TranslationIndex                                                                                   
Ign http://br.archive.ubuntu.com precise Release                                                                                             
Ign http://br.archive.ubuntu.com precise-security Release                                                                                   
Ign http://br.archive.ubuntu.com precise-updates Release                                                                                     
Ign http://br.archive.ubuntu.com precise-backports Release                                                                                   
20% [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabe

Não me siga, estou perdido.

Offline pylm69

  • Usuário Ubuntu
  • *
  • Mensagens: 476
    • Ver perfil
Re: Problema com apt-get update
« Resposta #11 Online: 27 de Outubro de 2013, 16:33 »
 Cara, ta dando erro por falta de keys, teu sources.lit portado aqui TEM os comandos exatos pra pegar e instalar essas keys do modo mais simples possível, pra que ta quebrando a cabeça?
Rolling Release é o máximo \o/

Offline vicktorjunior

  • Usuário Ubuntu
  • *
  • Mensagens: 46
  • Um ex-windows user, tentando viver no mundo "open"
    • Ver perfil
Re: Problema com apt-get update
« Resposta #12 Online: 27 de Outubro de 2013, 16:39 »
Porque eu não sou expert em Linux como tu.

Obrigado pela dica.
Não me siga, estou perdido.

Offline platao

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 5.052
    • Ver perfil
Re: Problema com apt-get update
« Resposta #13 Online: 27 de Outubro de 2013, 16:57 »
Vamos lá, abra sua sources.list com um editor de texto de sua preferência (vi, vim, nano, pico, gedit, pluma, etc...) e apague todo o conteúdo do arquivo, e cole o conteúdo abaixo.

Código: (/etc/apt/sources.list) [Selecionar]
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

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

###### Ubuntu Update Repos
deb http://br.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

Depois, execute os seguintes comandos abaixo.

Código: ($) [Selecionar]
sudo rm -r /var/lib/apt/lists/* ; sudo apt-get autoclean ; sudo apt-get autoremove --purge ; sudo apt-get update ; sudo apt-get upgrade ; sudo apt-get dist-upgrade

Ola agregando, provavelmente a sua lista nao foi salva e tudo se manteve na mesma porque para abrir esse arquivo precisa ser root entao, agregando ao que o Arthur reportou;

sudo gedit /etc/apt/sources.list

Apague todo o conteudo e ai vc cola o que ele te passou;

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

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

###### Ubuntu Update Repos
deb http://br.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

Pronto, salve e agora tente dar um upgrade, coloca essa linha toda no terminal;

sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get clean ; sudo apt-get -f install ; sudo apt-get update

Se ainda der problemas com chaves, algum erro GPG no terminal vc instale esse pacote;

http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/l/launchpad-getkeys/launchpad-getkeys_0.3.2-1~webupd8~oneiric_all.deb

instale o deb e depois rode o comando no terminal;

sudo launchpad-getkeys ; sudo apt-get update

Sempre que houver problemas com chave, e so rodar esse comando novamente.
\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

Offline pylm69

  • Usuário Ubuntu
  • *
  • Mensagens: 476
    • Ver perfil
Re: Problema com apt-get update
« Resposta #14 Online: 27 de Outubro de 2013, 17:18 »
Porque eu não sou expert em Linux como tu.

Obrigado pela dica.
Eu poderia te dizer exatamente tudo, mas eu aprendi que, "dê uma vara e ensine a pescar" e não dê o peixe assado e pronto em uma bandeja.
Rolling Release é o máximo \o/