Autor Tópico: Apt-get não funciona !  (Lida 1860 vezes)

Offline Johny

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Apt-get não funciona !
« Online: 28 de Agosto de 2012, 10:12 »
Olá pessoal, estou com o seguinte problema. Ao tentar baixar as atualizações pelo terminal acontece o erro abaixo, já fiz de tudo e o erro persiste, se alguém souber, ficarei grato.

Código: [Selecionar]
sudo apt-get update
Ign http://extras.ubuntu.com precise InRelease                                                                                                        
Ign http://ppa.launchpad.net precise InRelease                                                                                                        
Ign http://download.virtualbox.org precise InRelease                                                                                                  
Ign http://archive.canonical.com precise InRelease                                                                                                    
Ign http://liveusb.info precise InRelease                                                                                                            
Ign http://archive.ubuntu.com precise InRelease                                                                                                      
Ign http://archive.canonical.com precise InRelease                                                                                                    
Err http://download.virtualbox.org precise Release.gpg                                                                                                
  Conexão falhou
Err http://extras.ubuntu.com precise Release.gpg                                                                                                      
  Conexão falhou
Ign http://archive.ubuntu.com precise-updates InRelease                                                                                              
Ign http://archive.ubuntu.com precise-security InRelease                                                                                              
Ign http://extras.ubuntu.com precise Release                                                                                                          
Ign http://download.virtualbox.org precise Release                                                                                                    
Ign http://extras.ubuntu.com precise/main Sources/DiffIndex                                                                                          
Ign http://ppa.launchpad.net precise InRelease                                                                                                        
Err http://archive.ubuntu.com precise Release.gpg                                                                                                    
  Conexão falhou
Ign http://extras.ubuntu.com precise/main i386 Packages/DiffIndex                                                                                    
Err http://liveusb.info precise Release.gpg                                                                                                          
  Conexão falhou
Ign http://download.virtualbox.org precise/contrib i386 Packages/DiffIndex                                                                            
Err http://archive.canonical.com precise Release.gpg                                                                                                  
  Conexão falhou
Ign http://ppa.launchpad.net precise InRelease                                                                                                        
Err http://archive.ubuntu.com precise-updates Release.gpg                                                                                            
  Conexão falhou
Ign http://liveusb.info precise Release                                                                                                              
Ign http://extras.ubuntu.com precise/main TranslationIndex                                                                                            
Ign http://ppa.launchpad.net precise InRelease                                                                                                        
Ign http://ppa.launchpad.net precise InRelease                                                                                                        
Err http://archive.canonical.com precise Release.gpg                                                                                                  
  Conexão falhou
Ign http://download.virtualbox.org precise/non-free i386 Packages/DiffIndex                                                                          
Err http://archive.ubuntu.com precise-security Release.gpg                                                                                            
  Conexão falhou
Ign http://ppa.launchpad.net precise InRelease                                                                                                        
Ign http://archive.ubuntu.com precise Release                                                                                                        
Ign http://liveusb.info precise/main TranslationIndex                                                                                                
Ign http://download.virtualbox.org precise/contrib TranslationIndex                                                                                  
Ign http://archive.canonical.com precise Release                                                                                                      
Ign http://archive.canonical.com precise Release                                                                                                      
Ign http://archive.ubuntu.com precise-updates Release                                                                                                
Ign http://download.virtualbox.org precise/non-free TranslationIndex                                                                                  
Ign http://ppa.launchpad.net precise InRelease                                                                                                        
Ign http://archive.canonical.com precise/partner Sources/DiffIndex                                                                                    
Ign http://archive.ubuntu.com precise-security Release                                                                                                
Ign http://archive.ubuntu.com precise/main Sources/DiffIndex                                                                                          
Ign http://archive.ubuntu.com precise/restricted Sources/DiffIndex                                                                                    
Ign http://archive.ubuntu.com precise/multiverse Sources/DiffIndex                                                                                    
Ign http://archive.ubuntu.com precise/universe Sources/DiffIndex                                                                                      
Ign http://archive.canonical.com precise/partner i386 Packages/DiffIndex                                                                              
Err http://ppa.launchpad.net precise Release.gpg                                                                                                      
  Conexão falhou
Err http://ppa.launchpad.net precise Release.gpg                                                                                                      
  Conexão falhou
Ign http://archive.ubuntu.com precise/main i386 Packages/DiffIndex                                                                                    
Err http://ppa.launchpad.net precise Release.gpg                                                                                                      
  Conexão falhou
Err http://ppa.launchpad.net precise Release.gpg                                                                                                      
  Conexão falhou
Err http://ppa.launchpad.net precise Release.gpg                                                                                                      
  Conexão falhou
Ign http://archive.ubuntu.com precise/restricted i386 Packages/DiffIndex                                                                              
Ign http://archive.canonical.com precise/partner TranslationIndex                                                                                    
Err http://ppa.launchpad.net precise Release.gpg                                                                                                      
  Conexão falhou
Ign http://archive.canonical.com precise/partner i386 Packages/DiffIndex                                                                              
Ign http://archive.ubuntu.com precise/universe i386 Packages/DiffIndex                                                                                
Err http://ppa.launchpad.net precise Release.gpg                                                                                                      
  Conexão falhou
Ign http://archive.canonical.com precise/partner TranslationIndex                                                                                    
Ign http://archive.ubuntu.com precise/multiverse i386 Packages/DiffIndex                                                                              
Ign http://ppa.launchpad.net precise Release                                                                                                          
Ign http://archive.ubuntu.com precise/main TranslationIndex                                                                                          
Ign http://ppa.launchpad.net precise Release                                                                                                          
Err http://liveusb.info precise/main i386 Packages                                                                                                    
  Conexão falhou
Ign http://archive.ubuntu.com precise/multiverse TranslationIndex                                                                                    
Ign http://ppa.launchpad.net precise Release                                                                                                          
Ign http://archive.ubuntu.com precise/restricted TranslationIndex                                                                                    
Ign http://ppa.launchpad.net precise Release                                                                                                          
Ign http://ppa.launchpad.net precise Release                                                                                                          
Err http://liveusb.info precise/main Translation-pt_BR                                                                                                
  Conexão falhou
Err http://liveusb.info precise/main Translation-pt                                                                                                  
  Conexão falhou
Ign http://archive.ubuntu.com precise/universe TranslationIndex                                                                                      
Err http://liveusb.info precise/main Translation-en                                                                                                  
  Conexão falhou
Ign http://ppa.launchpad.net precise Release                                                                                                          
Ign http://archive.ubuntu.com precise-updates/restricted Sources/DiffIndex                                                                          
Ign http://ppa.launchpad.net precise Release                                                                                                        
Ign http://archive.ubuntu.com precise-updates/main Sources/DiffIndex                                                                                
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex                                                                                        
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex                                                                                  
Ign http://archive.ubuntu.com precise-updates/multiverse Sources/DiffIndex                                                                          
Ign http://ppa.launchpad.net precise/main TranslationIndex                                                                                          
Ign http://archive.ubuntu.com precise-updates/universe Sources/DiffIndex                                                                            
Ign http://archive.ubuntu.com precise-updates/main i386 Packages/DiffIndex                                                                          
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex                                                                                        
Ign http://archive.ubuntu.com precise-updates/restricted i386 Packages/DiffIndex                                                                    
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex                                                                                  
Ign http://ppa.launchpad.net precise/main TranslationIndex                                                                                          
Ign http://archive.ubuntu.com precise-updates/universe i386 Packages/DiffIndex                                                                      
Err http://extras.ubuntu.com precise/main Sources                                                                                                  
  Conexão falhou
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex                                                                                        
Err http://extras.ubuntu.com precise/main i386 Packages                                                                                            
  Conexão falhou
Ign http://archive.ubuntu.com precise-updates/multiverse i386 Packages/DiffIndex                                                                    
Err http://extras.ubuntu.com precise/main Translation-pt_BR                                                                                        
  Conexão falhou
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex                                                                                  
Ign http://archive.ubuntu.com precise-updates/main TranslationIndex                                                                                
Ign http://archive.ubuntu.com precise-updates/multiverse TranslationIndex                                                                          
Err http://extras.ubuntu.com precise/main Translation-pt                                                                                            
  Conexão falhou
Err http://extras.ubuntu.com precise/main Translation-en                                                                                            
  Conexão falhou
Ign http://ppa.launchpad.net precise/main TranslationIndex                                                                                          
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex                                                            
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex                                                      
Ign http://archive.ubuntu.com precise-updates/restricted TranslationIndex                                              
Ign http://ppa.launchpad.net precise/main TranslationIndex                                                            
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex                                                            
Ign http://archive.ubuntu.com precise-updates/universe TranslationIndex                                                
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex                                                      
Ign http://archive.ubuntu.com precise-security/restricted Sources/DiffIndex                                            
Ign http://archive.ubuntu.com precise-security/main Sources/DiffIndex                                                  
Ign http://ppa.launchpad.net precise/main TranslationIndex                                                            
Ign http://archive.ubuntu.com precise-security/multiverse Sources/DiffIndex                                            
Ign http://archive.ubuntu.com precise-security/universe Sources/DiffIndex                                              
Ign http://archive.ubuntu.com precise-security/main i386 Packages/DiffIndex                                            
Ign http://ppa.launchpad.net precise/main TranslationIndex                                                            
Ign http://archive.ubuntu.com precise-security/restricted i386 Packages/DiffIndex                                      
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex                                                            
Ign http://archive.ubuntu.com precise-security/universe i386 Packages/DiffIndex                                        
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex                                                      
Ign http://archive.ubuntu.com precise-security/multiverse i386 Packages/DiffIndex                                      
Ign http://archive.ubuntu.com precise-security/main TranslationIndex                                                  
Ign http://archive.ubuntu.com precise-security/multiverse TranslationIndex                                            
Ign http://ppa.launchpad.net precise/main TranslationIndex                                                            
Ign http://archive.ubuntu.com precise-security/restricted TranslationIndex                                            
Err http://download.virtualbox.org precise/contrib i386 Packages                                                      
  Conexão falhou
22% [Aguardando por cabeçalhos]                              

eliseu_carvalho

  • Visitante
Re: Apt-get não funciona !
« Resposta #1 Online: 28 de Agosto de 2012, 10:15 »
Lá nos "Canais de software" (sudo software-properties-gtk) talvez seja o caso de trocar de servidor para um dos servidores-espelho e tentar de novo.

Offline Johny

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re: Apt-get não funciona !
« Resposta #2 Online: 28 de Agosto de 2012, 10:24 »
Lá nos "Canais de software" (sudo software-properties-gtk) talvez seja o caso de trocar de servidor para um dos servidores-espelho e tentar de novo.
Já alterei pra servidor principal, servidor brasileiro e não funcionou.

Sourcelists.

Código: [Selecionar]
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-updates restricted main multiverse universe #Added by software-properties

## 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://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-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://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-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
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
deb http://archive.canonical.com/ precise partner
deb http://archive.canonical.com/ precise partner
deb http://archive.canonical.com/ precise partner
deb http://archive.canonical.com/ precise partner
## Depôt MultiSystem
# deb http://liveusb.info/multisystem/depot precise main

deb http://download.virtualbox.org/virtualbox/debian precise contrib non-free

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-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/ precise universe
deb-src http://br.archive.ubuntu.com/ubuntu/ precise universe
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-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/ precise multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## 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/ precise-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Apt-get não funciona !
« Resposta #3 Online: 28 de Agosto de 2012, 11:30 »
Ola

O que não funcionou?

Voce tinha um erro aqui => Err http://extras.ubuntu.com precise/main

Mas no seu sources.list ele aparece como comentado.
Citar
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main

Algo mudou nos seus erros, mas voce não postou novamente a saida de
Código: [Selecionar]
sudo apt-get update
[]'s

Offline Johny

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re: Apt-get não funciona !
« Resposta #4 Online: 28 de Agosto de 2012, 13:25 »
O apt funcionou quando executei com o sudo no meu usuário (sudo apt-get update). No usuário ROOT só funcionou quando coloquei o proxy  da minha rede no /etc/environment.