Обновление Ubuntu apt-get, подключающееся к 10.8.0.1

Обновление Ubuntu apt-get, подключающееся к 10.8.0.1

Я пытаюсь запустить команду sudo apt-get updateв Ubuntu 14. Она пытается подключиться 10.8.0.1, но не может.

npm installтакже не работает по той же причине. Я обнаружил, что это 10.8.0.1связано с openvpn. Я установил openvpnна этой системе.

Вот вывод команды:

Err http ://ubuntu.excellmedia.net trusty InRelease                             
Err http ://archive.getdeb.net trusty-getdeb InRelease                          
Err http ://ubuntu.excellmedia.net trusty-updates InRelease                     
Err http ://ubuntu.excellmedia.net trusty-backports InRelease                   
Err http ://ubuntu.excellmedia.net trusty-security InRelease                    
Err http ://archive.getdeb.net trusty-getdeb Release.gpg                        
  Unable to connect to 10.8.0.1:8080:
Err http ://ubuntu.excellmedia.net trusty Release.gpg                           
  Unable to connect to 10.8.0.1:8080:
Err http ://ubuntu.excellmedia.net trusty-updates Release.gpg                   
  Unable to connect to 10.8.0.1:8080:
Err http ://ubuntu.excellmedia.net trusty-backports Release.gpg                 
  Unable to connect to 10.8.0.1:8080:
Err http ://ubuntu.excellmedia.net trusty-security Release.gpg                  
  Unable to connect to 10.8.0.1:8080:
Err http ://ppa.launchpad.net trusty InRelease                                  
Err http ://ppa.launchpad.net trusty InRelease                                  
Err http ://ppa.launchpad.net trusty InRelease                                  
Err http ://ppa.launchpad.net trusty InRelease                                  
Err http ://ppa.launchpad.net trusty InRelease                                  
Err http ://ppa.launchpad.net trusty InRelease                                  
Err http ://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to 10.8.0.1:8080:
Err http ://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to 10.8.0.1:8080:
Err http ://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to 10.8.0.1:8080:
Err http ://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to 10.8.0.1:8080:
Err http ://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to 10.8.0.1:8080:
Err http ://ppa.launchpad.net trusty Release.gpg                                
  Unable to connect to 10.8.0.1:8080:
Err http ://extras.ubuntu.com trusty InRelease                                  
Err http ://dl.google.com stable InRelease                                      
Err http ://dl.google.com stable Release.gpg                                    
  Unable to connect to 10.8.0.1:8080:
Err http ://extras.ubuntu.com trusty Release.gpg                           
  Unable to connect to 10.8.0.1:8080:
Err http ://downloads-distro.mongodb.org dist InRelease                    
Err http ://downloads-distro.mongodb.org dist Release.gpg
  Unable to connect to 10.8.0.1:8080:
Reading package lists... Done
W: Failed to fetch http ://ubuntu.excellmedia.net/archive/dists/trusty/InRelease  
W: Failed to fetch http ://ubuntu.excellmedia.net/archive/dists/trusty-updates/InRelease  
W: Failed to fetch http ://ubuntu.excellmedia.net/archive/dists/trusty-backports/InRelease  
W: Failed to fetch http ://ubuntu.excellmedia.net/archive/dists/trusty-security/InRelease  
W: Failed to fetch http ://extras.ubuntu.com/ubuntu/dists/trusty/InRelease  
W: Failed to fetch http ://ppa.launchpad.net/fantasyleague0629/wildguppy/ubuntu/dists/trusty/InRelease  
W: Failed to fetch http ://ppa.launchpad.net/fish-shell/release-2/ubuntu/dists/trusty/InRelease  
W: Failed to fetch http ://archive.getdeb.net/ubuntu/dists/trusty-getdeb/InRelease  
W: Failed to fetch http ://dl.google.com/linux/chrome/deb/dists/stable/InRelease  
W: Failed to fetch http ://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/InRelease  
W: Failed to fetch http ://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu/dists/trusty/InRelease  
W: Failed to fetch http ://ppa.launchpad.net/strukturag/libde265/ubuntu/dists/trusty/InRelease  
W: Failed to fetch http ://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/InRelease  
W: Failed to fetch http ://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu/dists/trusty/InRelease  
W: Failed to fetch http ://ubuntu.excellmedia.net/archive/dists/trusty/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://archive.getdeb.net/ubuntu/dists/trusty-getdeb/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://ubuntu.excellmedia.net/archive/dists/trusty-updates/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://ubuntu.excellmedia.net/archive/dists/trusty-backports/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://ubuntu.excellmedia.net/archive/dists/trusty-security/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://ppa.launchpad.net/fantasyleague0629/wildguppy/ubuntu/dists/trusty/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://ppa.launchpad.net/fish-shell/release-2/ubuntu/dists/trusty/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu/dists/trusty/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://ppa.launchpad.net/strukturag/libde265/ubuntu/dists/trusty/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu/dists/trusty/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Failed to fetch http ://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/Release.gpg  Unable to connect to 10.8.0.1:8080:
W: Some index files failed to download. They have been ignored, or old ones used instead.

решение1

У вас может быть что-то вроде

Acquire::http::proxy "http://10.8.0.1:8080/";

в вашем /etc/apt/apt.confфайле. Просто удалите эту строку. Это должно сработать.

Связанный контент