não pode atualizar a menos que em uma rede

0

Estou usando recentemente o ubuntu12.04 LTS e, enquanto tento atualizar, instalar aplicativos e atualizar, recebo mensagens de erro, a menos que eu esteja em uma rede. Esta é uma rede wifi que é encontrada no meu local de trabalho, acho que há um aplicativo instalado para fazer isso. Qualquer como, isso é tudo que eu recebo ao tentar atualizar em outras redes. "Apesar de não ser tudo isso

Err http://deb.playonlinux.com maverick Release.gpg                            
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://deb.opera.com stable Release.gpg                                    
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://repo.steampowered.com precise Release.gpg                           
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://fl.archive.ubuntu.com precise Release.gpg                           
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net karmic Release.gpg                                
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://dl.google.com stable Release.gpg                                    
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://security.ubuntu.com precise-security Release                        
Ign http://archive.getdeb.net precise-getdeb Release                           
Ign http://deb.opera.com stable Release                                        
Ign http://deb.playonlinux.com maverick Release                                
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://repo.steampowered.com precise Release                               
Err http://fl.archive.ubuntu.com precise-updates Release.gpg                   
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://dl.google.com stable Release.gpg                                    
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://extras.ubuntu.com precise Release                                   
Ign http://deb.playonlinux.com maverick/main i386 Packages/DiffIndex           
Ign http://security.ubuntu.com precise-security/main Sources/DiffIndex         
Ign http://archive.getdeb.net precise-getdeb/apps i386 Packages/DiffIndex      
Ign http://deb.opera.com stable/non-free i386 Packages/DiffIndex               
Ign http://repo.steampowered.com precise/steam i386 Packages/DiffIndex         
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://dl.google.com stable Release.gpg                                    
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://fl.archive.ubuntu.com precise-backports Release.gpg                 
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://extras.ubuntu.com precise/main Sources/DiffIndex                    
Ign http://deb.playonlinux.com maverick/main TranslationIndex                  
Ign http://archive.getdeb.net precise-getdeb/apps TranslationIndex             
Ign http://security.ubuntu.com precise-security/restricted Sources/DiffIndex   
Ign http://deb.opera.com stable/non-free TranslationIndex                      
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://repo.steampowered.com precise/steam TranslationIndex                
Ign http://dl.google.com stable Release                                        
Ign http://extras.ubuntu.com precise/main i386 Packages/DiffIndex              
Err http://fl.archive.ubuntu.com precise-proposed Release.gpg                  
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://security.ubuntu.com precise-security/universe Sources/DiffIndex     
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://dl.google.com stable Release                                        
Ign http://fl.archive.ubuntu.com precise Release                               
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Ign http://security.ubuntu.com precise-security/multiverse Sources/DiffIndex   
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://dl.google.com stable Release                                        
Ign http://fl.archive.ubuntu.com precise-updates Release                       
Ign http://security.ubuntu.com precise-security/main i386 Packages/DiffIndex   
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-backports Release                     
Ign http://dl.google.com stable/main i386 Packages/DiffIndex                   
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-proposed Release                      
Ign http://dl.google.com stable/main TranslationIndex                          
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://dl.google.com stable/main i386 Packages/DiffIndex                   
Ign http://fl.archive.ubuntu.com precise/main Sources/DiffIndex                
Ign http://fl.archive.ubuntu.com precise/restricted Sources/DiffIndex          
Ign http://fl.archive.ubuntu.com precise/universe Sources/DiffIndex            
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://dl.google.com stable/main TranslationIndex                          
Ign http://fl.archive.ubuntu.com precise/multiverse Sources/DiffIndex          
Ign http://fl.archive.ubuntu.com precise/main i386 Packages/DiffIndex          
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://dl.google.com stable/main i386 Packages/DiffIndex                   
Ign http://fl.archive.ubuntu.com precise/restricted i386 Packages/DiffIndex    
Ign http://fl.archive.ubuntu.com precise/universe i386 Packages/DiffIndex      
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://dl.google.com stable/main TranslationIndex                          
Ign http://fl.archive.ubuntu.com precise/multiverse i386 Packages/DiffIndex    
Ign http://fl.archive.ubuntu.com precise/main TranslationIndex                 
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://security.ubuntu.com precise-security/restricted i386 Packages/DiffIndex
Ign http://security.ubuntu.com precise-security/universe i386 Packages/DiffIndex
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://deb.opera.com stable/non-free i386 Packages                         
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://security.ubuntu.com precise-security/multiverse i386 Packages/DiffIndex
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://security.ubuntu.com precise-security/main TranslationIndex          
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://security.ubuntu.com precise-security/multiverse TranslationIndex    
Ign http://security.ubuntu.com precise-security/restricted TranslationIndex    
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise/multiverse TranslationIndex           
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://security.ubuntu.com precise-security/universe TranslationIndex      
Ign http://fl.archive.ubuntu.com precise/restricted TranslationIndex           
Ign http://fl.archive.ubuntu.com precise/universe TranslationIndex             
Err http://extras.ubuntu.com precise/main Sources                              
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-updates/main Sources/DiffIndex        
Err http://repo.steampowered.com precise/steam i386 Packages                   
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-updates/restricted Sources/DiffIndex  
Err http://repo.steampowered.com precise/steam Translation-en_US               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com precise/main i386 Packages                        
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-updates/universe Sources/DiffIndex    
Err http://repo.steampowered.com precise/steam Translation-en                  
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-updates/multiverse Sources/DiffIndex  
Err http://extras.ubuntu.com precise/main Translation-en_US                    
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-updates/main i386 Packages/DiffIndex  
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://extras.ubuntu.com precise/main Translation-en                       
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-updates/restricted i386 Packages/DiffIndex
Ign http://fl.archive.ubuntu.com precise-updates/universe i386 Packages/DiffIndex
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://deb.opera.com stable/non-free Translation-en_US                     
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://deb.opera.com stable/non-free Translation-en                        
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://deb.playonlinux.com maverick/main i386 Packages                     
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://archive.getdeb.net precise-getdeb/apps i386 Packages                
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://archive.getdeb.net precise-getdeb/apps Translation-en_US            
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://deb.playonlinux.com maverick/main Translation-en_US                 
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://archive.getdeb.net precise-getdeb/apps Translation-en               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://deb.playonlinux.com maverick/main Translation-en                    
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-updates/multiverse i386 Packages/DiffIndex
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-updates/main TranslationIndex         
Ign http://fl.archive.ubuntu.com precise-updates/multiverse TranslationIndex   
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://ppa.launchpad.net precise Release.gpg                               
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://ppa.launchpad.net karmic Release                                    
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   
Ign http://fl.archive.ubuntu.com precise-updates/restricted TranslationIndex   
Ign http://fl.archive.ubuntu.com precise-updates/universe TranslationIndex     
Ign http://fl.archive.ubuntu.com precise-backports/main Sources/DiffIndex      
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   
Ign http://fl.archive.ubuntu.com precise-backports/restricted Sources/DiffIndex
Ign http://fl.archive.ubuntu.com precise-backports/universe Sources/DiffIndex  
Ign http://ppa.launchpad.net precise Release                                   
Ign http://fl.archive.ubuntu.com precise-backports/multiverse Sources/DiffIndex
Ign http://fl.archive.ubuntu.com precise-backports/main i386 Packages/DiffIndex
Err http://dl.google.com stable/main i386 Packages                             
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-backports/restricted i386 Packages/DiffIndex
Ign http://fl.archive.ubuntu.com precise-backports/universe i386 Packages/DiffIndex
Err http://dl.google.com stable/main Translation-en_US                         
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://fl.archive.ubuntu.com precise-backports/multiverse i386 Packages/DiffIndex
Ign http://fl.archive.ubuntu.com precise-backports/main TranslationIndex       
Err http://dl.google.com stable/main Translation-en                            
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://dl.google.com stable/main i386 Packages                             
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://dl.google.com stable/main Translation-en_US                         
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://dl.google.com stable/main Translation-en                            
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Err http://dl.google.com stable/main i386 Packages                             
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://ppa.launchpad.net precise Release                                   
Err http://dl.google.com stable/main Translation-en_US                         
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://ppa.launchpad.net precise Release                                   
Err http://dl.google.com stable/main Translation-en                            
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   
Ign http://fl.archive.ubuntu.com precise-backports/multiverse TranslationIndex 
Ign http://fl.archive.ubuntu.com precise-backports/restricted TranslationIndex 
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   
Ign http://ppa.launchpad.net precise Release                                   

Err http://security.ubuntu.com precise-security/multiverse Translation-en_US   
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex              
Err http://security.ubuntu.com precise-security/multiverse Translation-en      
  Something wicked happened resolving 'aptcache.intranet.ics:3142' (-5 - No address associated with hostname)
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://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                   
22% [Connecting to aptcache.intranet.ics] [Connecting to aptcache.intranet.ics]
'
    
por belay neh 21.01.2015 / 20:17

1 resposta

1

Parece que você configurou apt para usar um proxy de armazenamento em cache na intranet do seu local de trabalho. Quando você não está conectado a essa rede, as configurações de proxy são inválidas e as atualizações / instalações falharão.

A melhor maneira de corrigir isso dependerá da frequência com que você atualiza seu sistema no trabalho versus o contrário do trabalho:

  1. Se você costuma atualizar no trabalho, mas deseja executar apt-get ocasionalmente quando está conectado a outra rede, deve conseguir substituir a configuração na linha de comando adicionando -o Acquire::http::Proxy=false ao comando, por exemplo,

    sudo apt-get -o Acquire::http::Proxy=false update
    
  2. Se você raramente usa o proxy de trabalho, então você pode considerar removê-lo ou desativá-lo: provavelmente é mais fácil usar o gerenciador de pacotes synaptic , indo para Configurações - > Preferências e, em seguida, selecionando a aba Rede e certificando-se de que está definida para Direct connection to the internet :

    Sevocênãotemsynaptic,podeeditarasconfiguraçõesdeproxymanualmente-vocêdeveencontrá-lasnoarquivo/etc/apt/apt.confouemumdosfragmentosem/etc/apt/apt.conf.d/eprovavelmenteseráparecidocom

    Acquire::http::Proxy"http://aptcache.intranet.ics:3142"
    

    que você pode comentar ou definir explicitamente como

    Acquire::http::Proxy DIRECT
    
  3. Se você quiser que apt detecte automaticamente se o proxy especificado está disponível e faça uma conexão direta se não estiver, então, aparentemente, há uma maneira de fazer isso também - veja esta resposta anterior em Como ignorar um proxy se não estiver disponível?

por steeldriver 23.01.2015 / 02:03