web-dev-qa-db-fra.com

Impossible de mettre à jour les référentiels Ubuntu

Donc, fondamentalement, le problème est que je ne peux pas mettre à jour mon cache apt (Ubuntu 14.04). J'ai récemment changé de pays et depuis que j'ai ce signe avec le point d'exclamation.

J'ai essayé de mettre à jour mon cache avec Sudo apt-get update et a également essayé de changer le fournisseur de serveurs de référentiels (depuis les paramètres-> logiciels et mises à jour, etc.) Notez que lorsque je choisis "trouver le serveur le plus proche", aucun serveur ne peut être trouvé.

J'ai essayé de changer mon resolv.conf, mais ça a empiré et j'ai aussi eu quelques problèmes avec mon WLAN.

Contenu de /etc/apt/sources.list:

 # deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release i386 (20150218.1)]/ trusty main restricted

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

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

deb http://archive.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted
deb http://archive.ubuntu.com/ubuntu trusty-security universe
deb-src http://archive.ubuntu.com/ubuntu trusty-security universe
deb http://archive.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty-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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty 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 trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://ppa.launchpad.net/wagungs/kali-linux2/ubuntu raring main
# deb-src http://ppa.launchpad.net/wagungs/kali-linux2/ubuntu raring main
deb http://ppa.launchpad.net/wagungs/kali-linux/ubuntu raring main
# deb-src http://ppa.launchpad.net/wagungs/kali-linux/ubuntu raring main
deb http://ppa.launchpad.net/wagungs/kali-linux1/ubuntu raring main
# deb-src http://ppa.launchpad.net/wagungs/kali-linux1/ubuntu raring main
deb http://ppa.launchpad.net/webupd8team/Java/ubuntu trusty main
# deb-src http://ppa.launchpad.net/webupd8team/Java/ubuntu trusty main
# deb-src http://security.ubuntu.com/ubuntu trusty-security main

Contenu de /etc/apt/sources.list.d:

diesch-testing-trusty.list
diesch-testing-trusty.list.save
dropbox.list
dropbox.list.save
fkrull-deadsnakes-trusty.list
fkrull-deadsnakes-trusty.list.save
gezakovacs-ppa-trusty.list
gezakovacs-ppa-trusty.list.save
google-chrome.list.save
google-talkplugin.list
google-talkplugin.list.save
kali-tools.list
kali-tools.list~
maxthon-browser.list
maxthon-browser.list.save
midori-ppa-trusty.list
midori-ppa-trusty.list.save
mono-xamarin.list
mono-xamarin.list.save
private-ppa.launchpad.net_commercial-ppa-uploaders_slimjet_ubuntu.list
private-ppa.launchpad.net_commercial-ppa-uploaders_slimjet_ubuntu.list.save
spotify.list
spotify.list.save
stebbins-handbrake-releases-trusty.list
stebbins-handbrake-releases-trusty.list.save
strukturag-libde265-trusty.list
strukturag-libde265-trusty.list.save
tualatrix-ppa-trusty.list
tualatrix-ppa-trusty.list.save
ubuntu-desktop-ubuntu-make-trusty.list
ubuntu-desktop-ubuntu-make-trusty.list.save
wine-wine-builds-trusty.list
wine-wine-builds-trusty.list.save

Pinging google par exemple:

PING google.fritz.box (127.0.53.53) 56(84) bytes of data.
64 bytes from 127.0.53.53: icmp_seq=1 ttl=64 time=0.030 ms
64 bytes from 127.0.53.53: icmp_seq=2 ttl=64 time=0.048 ms
64 bytes from 127.0.53.53: icmp_seq=3 ttl=64 time=0.039 ms
64 bytes from 127.0.53.53: icmp_seq=4 ttl=64 time=0.049 ms
64 bytes from 127.0.53.53: icmp_seq=5 ttl=64 time=0.046 ms
64 bytes from 127.0.53.53: icmp_seq=6 ttl=64 time=0.051 ms
^C
--- google.fritz.box ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5000ms
rtt min/avg/max/mdev = 0.030/0.043/0.051/0.011 ms

Resultats de Sudo apt-get update:

Αγνόησε https://private-ppa.launchpad.net trusty InRelease                     
Σφάλμα http://dl.google.com stable InRelease                                   

Σφάλμα http://repository.spotify.com testing InRelease                         

Σφάλμα http://ppa.launchpad.net raring InRelease                               

Σφάλμα http://archive.ubuntu.com trusty InRelease                              

Σφάλμα http://dl.google.com stable Release.gpg                                 
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://repository.spotify.com testing Release.gpg                       
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://archive.ubuntu.com trusty-updates InRelease                      

Σφάλμα http://archive.ubuntu.com trusty-backports InRelease                    

Σφάλμα http://archive.ubuntu.com trusty-security InRelease                     

Σφάλμα http://ppa.launchpad.net raring InRelease                               

Σφάλμα http://ppa.launchpad.net raring InRelease                               

Σφάλμα http://ppa.launchpad.net trusty InRelease                               

Σφάλμα http://ppa.launchpad.net trusty InRelease                               

Σφάλμα http://ppa.launchpad.net trusty InRelease                               

Σφάλμα http://ppa.launchpad.net trusty InRelease                               

Σφάλμα http://ppa.launchpad.net trusty InRelease                               

Σφάλμα http://ppa.launchpad.net trusty InRelease                               

Σφάλμα http://ppa.launchpad.net trusty InRelease                               

Σφάλμα http://ppa.launchpad.net trusty InRelease                               

Σφάλμα http://archive.ubuntu.com trusty Release.gpg                            
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://archive.ubuntu.com trusty-updates Release.gpg                    
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://archive.ubuntu.com trusty-backports Release.gpg                  
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty InRelease                               

Σφάλμα http://ppa.launchpad.net trusty InRelease                               

Σφάλμα http://ppa.launchpad.net raring Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net raring Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net raring Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://archive.ubuntu.com trusty-security Release.gpg                   
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://ppa.launchpad.net trusty Release.gpg                             
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://dl.maxthon.com stable InRelease                                  

Σφάλμα http://download.mono-project.com wheezy InRelease                       

Σφάλμα http://download.mono-project.com wheezy-Apache24-compat InRelease       

Σφάλμα http://extras.ubuntu.com trusty InRelease                               

Σφάλμα http://linux.dropbox.com trusty InRelease                               

Σφάλμα http://dl.maxthon.com stable Release.gpg                                
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://extras.ubuntu.com trusty Release.gpg
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://linux.dropbox.com trusty Release.gpg
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://download.mono-project.com wheezy Release.gpg
  Unable to connect to 85.73.170.197:3128:
Σφάλμα http://download.mono-project.com wheezy-Apache24-compat Release.gpg
  Unable to connect to 85.73.170.197:3128:

Le mot "Σφάλμα" signifie erreur.

1
Dimitris Tim

Votre problème est votre APT proxy, comme le suggère le message:

Unable to connect to 85.73.170.197:3128

Le port 3128 est connu pour être le port par défaut de Squid. Peut être utilisé par certains apt-cacher-ng, ... de toute façon, un cache, très probablement. Ce n'est plus accessible.

Soit en /etc/apt/apt.conf ou un fichier de /etc/apt/apt.conf.d, vous auriez quelques Acquire::http::Proxy que vous devez laisser tomber.

Courir grep -Ri Acquire::http::Proxy /etc/apt, pour confirmer/trouver le fichier que vous devez modifier.

2
SYN