after some googling. i was able to fix this: original : /etc/apt/apt.conf Acquire::http::Proxy "xx.xx.xx.xx:8080";
modified apt.conf /etc/apt/apt.conf Acquire::http::Proxy "http://xx.xx.xx.xx:8080"; now working :) ----- Original Message ----- From: Rajeev Prasad <rp.ne...@yahoo.com> To: ubuntuserver <ubuntu-server@lists.ubuntu.com> Cc: Sent: Wednesday, June 13, 2012 1:24 PM Subject: apt-get fails err: Cannot initiate the connection to 8080:80 ??? wget is ok... i did following see the err i get with apt-get at the bottom. the eth0 gets all IP config from dhcp, which is working fine. i added proxy too... # export ftp_proxy=xx.xx.xx.xx:8080 # export http_proxy=xx.xx.xx.xx:8080 tested with wget # wget www.yahoo.com --2012-06-13 13:16:23-- http://www.yahoo.com/ Connecting to xx.xx.xx.xx:8080... connected. Proxy request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `index.html' [ <=> ] 225,291 578K/s in 0.4s 2012-06-13 13:16:24 (578 KB/s) - `index.html' saved [225291] but update fails... # apt-get update Ign http://security.ubuntu.com precise-security InRelease Err http://security.ubuntu.com precise-security Release.gpg Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam