I set the proxy using system setting -> Network -> Network Proxy. I then clicked on "Apply system wide", put my password, and nothing else.
michele@rserver-VirtualBox:~$ wget http://bbc.co.uk
--2014-09-30 13:02:20-- http://bbc.co.uk/
Resolving datapx01-wcg (datapx01-wcg)... 10.123.7.31
Connecting to datapx01-wcg (datapx01-wcg)|10.123.7.31|:8080... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: http://www.bbc.co.uk/ [following]
--2014-09-30 13:02:21-- http://www.bbc.co.uk/
Reusing existing connection to datapx01-wcg:8080.
Proxy request sent, awaiting response... 200 OK
Length: 103020 (101K) [text/html]
Saving to: ‘index.html’
100%[======================================>] 103,020 190KB/s in 0.5s
2014-09-30 13:02:21 (190 KB/s) - ‘index.html’ saved [103020/103020]
Instead using sudo:
michele@rserver-VirtualBox:~$ sudo wget http://bbc.co.uk
[sudo] password for michele:
--2014-09-30 13:02:30-- http://bbc.co.uk/
Resolving bbc.co.uk (bbc.co.uk)... 212.58.246.104, 212.58.244.20, 212.58.246.103, ...
Connecting to bbc.co.uk (bbc.co.uk)|212.58.246.104|:80... failed: Connection timed out.
I am on 14.04 and I didn't have this issue before upgrading from 12.04 yesterday. Please tell me what other info you need.
sudo
here while it works well without that?/etc/apt/apt.conf
file and see if your proxy setting is also appear there.sudo env HTTP_PROXY=http://proxy.example.com:port wget http://bbc.co.uk
.