NIT-Hamirpur-NITH / ProxyHelper

This repository will contain the code for a cool application that would remove the need to use FoxyProxy and likes.
8 stars 11 forks source link

Unset the proxy in apt carefully #42

Open lokeshh opened 7 years ago

lokeshh commented 7 years ago

This line caused me a lot of trouble. Setting it simply to false works for apt but my other programs like eclipse stopped working because they were reading from apt config settings. Took me a lot of time to figure this out.

lokeshh commented 7 years ago

Best way I think is to just remove it when unseting the proxy instead of setting it to false. WDYT @Akarshit @clearnote01 ?

lokeshh commented 7 years ago

Just realized there's one more problem. Doing http_proxy="" isn't enough. Some programs take blank to be the hostname (funny but true). We need to unset these environment variables properly.