How do I reset proxy in terminal to automatic if not connected via proxy

Posted by therealnube on Ask Ubuntu See other posts from Ask Ubuntu or by therealnube
Published on 2012-11-28T08:41:48Z Indexed on 2012/11/28 11:17 UTC
Read the original article Hit count: 390

Filed under:
|
|

Well,all I ever wanted was to download and install an application from the terminal.
And to my surprise I just can't I tried to reset proxy of the terminal by some commands but it doesn't happen and automatically switches back to this proxy 172.16.0.16 (which apparently was my college proxy). I checked in my system settings too.. I don't understand why this is recurring.
Please be comprehensive,I am a nube :) Also I further would like to know how to bypass proxy server since I couldn't access any of the repositories as they were blocked in my college's proxy settings as is Ubuntu's homepage.

Thanks for your time. Terminal snapshot

For sudo ls /etc/apt/apt.conf.d/ it displays a different set of options where proxy is not listed.I am on 12.10,if this should help any.I put a snap of the terminal after the above command has been entered. ls Command entered

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about proxy