I recently solved my problem How to check if Network Proxy is really applied?
Now I can use
sudo apt-get install application-name easily - but the problem is that the normal user (not the superuser) cannot see the proxy.
For example, these commands have different outputs:
sudo wget http://whatismyip.com
It shows that the first command does not use the proxy while the second clearly says:
Connecting to localhost|127.0.0.1|:8080... connected.
the strange thing is that when I check http://whatismyip.com with Firefox, it shows the proxy IP not my real IP, which means that Firefox sees the proxy.
Why can't wget see the proxy?