не может обновить если в одной сети

Я недавно использую ubuntu12.04 LTS и поскольку я пытаюсь обновить, установить приложения и обновление, я получаю сообщения об ошибках, если я не нахожусь в одной сети. Это - сеть Wi-Fi, которая найдена в моем месте работы, я думаю, что существует приложение, установленное, чтобы сделать это. В любом случае это - все, что я получаю при попытке обновить в других сетях.'eventhough не все это

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]
`
0
задан 21 January 2015 в 12:17

1 ответ

Похоже, что Вы настроили apt использовать кэширующийся прокси на Вашей интранет рабочего места. Когда Вы не подключены к той сети, настройки прокси недопустимы, и обновления/установки перестанут работать.

Лучший способ зафиксировать, который будет зависеть, как часто Вы обновляете свою систему на работе по сравнению с далеко от работы, также:

  1. Если Вы обычно обновляете на работе, но хотите работать apt-get иногда, когда Ваше связанное с другой сетью, необходимо смочь переопределить параметр конфигурации на командной строке путем добавления -o Acquire::http::Proxy=false к команде, например.

    sudo apt-get -o Acquire::http::Proxy=false update
    
  2. Если Вы редко используете прокси работы, то Вы могли рассмотреть удаление или отключение его в целом: это - вероятно, самое легкое использование synaptic диспетчер пакетов, путем движения в Настройки-> Предпочтения и затем выбора вкладки Network и проверки это установлено на Direct connection to the internet:

    Synaptic proxy settings

    Если Вы не имеете synaptic можно изменить настройки прокси вручную - необходимо найти их любым в файле /etc/apt/apt.conf или один из фрагментов в /etc/apt/apt.conf.d/ и это, вероятно, посмотрит что-то как

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

    который можно или прокомментировать или явно установить на

    Acquire::http::Proxy DIRECT
    
  3. Если Вы хотите apt чтобы автоматически обнаружить, доступен ли указанный прокси, и устанавливает прямую связь, если это не, затем по-видимому, существует способ сделать, это также - видит этот предыдущий ответ в том, Как я игнорирую прокси если не доступный?

1
ответ дан 6 October 2019 в 03:36

Другие вопросы по тегам:

Похожие вопросы: