Ubuntu apt-get “Could not connect to…” problem
I had the following problem just one second ago when i run
apt-get update
Could not connect to us.archive.ubuntu.com:80
The problem was that i was behind a proxy which has to be set in the environment using
export http_proxy=http://PROXY IP:PROXY PORT
After this it worked and i updated my system
sudo aptitude update sudo aptitude upgrade sudo aptitude dist-upgrade


















