0

This question already has an answer here:

when perform

$ sudo apt-get update 
Err http://security.ubuntu.com trusty-security/main Sources          
  Connection failed [IP: 91.189.92.201 80]
Err http://security.ubuntu.com trusty-security/restricted Sources              
  Connection failed [IP: 91.189.91.13 80]

marked as duplicate by Panther, Eric Carvalho, αғsнιη, Eliah Kagan, Anwar Oct 24 '14 at 10:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 4
    We need more information. Do other web sites work ? are you behind a proxy? Did you try another mirror? – Panther Oct 22 '14 at 12:52
  • 1
    @bodhi.zazen is this a case of unmet dependencies? I have experienced this error in the past and it's cause? My internet was disconnected. – user271219 Oct 22 '14 at 13:02
  • I'm using ubuntu 14.04, and using another sites like google, yahoo, sql, and other many sites, and yes I'm behind a proxy, and when I use this command it's trying automatically to connect with more than one mirror like , Connection failed [IP: 91.189.92.201 80] Connection failed [IP: 91.189.91.13 80] Connection failed [IP: 91.189.91.15 80] Connection failed [IP: 91.189.91.24 80] or what do you mean by another mirror? – hisham Oct 22 '14 at 13:03
  • If you open the "Software and Updates" GUI, you can select which mirror you download updates from. There is a (relatively) massive list in there, and there is even a button that will automatically select the best one based on connectivity and bandwidth. – MGodby Oct 22 '14 at 13:14
  • @CheddieMerai - could be any number of issues simply stating something is broken is insufficient information. – Panther Oct 22 '14 at 13:20
2

If you are behind a proxy, edit or create the file : /etc/apt/apt.conf

And insert your proxy settings :

Acquire::http::Proxy "http://<proxy_host>:<proxy_port>";

Save it, and relaunch the apt-get command

Not the answer you're looking for? Browse other questions tagged or ask your own question.