since installing Ubuntu I have been unable to install new packages, it has even failed to update. below is a dump of connection error i see when i tried to install Wine:

E: Failed to fetch  Connection failed [IP: 80]

E: Failed to fetch  Connection failed [IP: 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  • 3
    Please try running sudo apt update and then try your original command again. Also, is your internet connection working normally? – Nick Weinberg Apr 22 '17 at 21:28

The issue definitely related with connectivity, try to ping or trace ubuntu servers. If connectivity is fine, probably you are behind proxy, use environment variable:

export http_proxy=<your_proxy>:<port>

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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