0

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]
5
  • 4
    We need more information. Do other web sites work ? are you behind a proxy? Did you try another mirror?
    – Panther
    Oct 22, 2014 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, 2014 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, 2014 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, 2014 at 13:14
  • @CheddieMerai - could be any number of issues simply stating something is broken is insufficient information.
    – Panther
    Oct 22, 2014 at 13:20

1 Answer 1

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.