Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unset the proxy in apt carefully #42

Open
lokeshh opened this issue Dec 16, 2016 · 2 comments
Open

Unset the proxy in apt carefully #42

lokeshh opened this issue Dec 16, 2016 · 2 comments

Comments

@lokeshh
Copy link
Member

lokeshh commented Dec 16, 2016

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
Copy link
Member Author

lokeshh commented Dec 16, 2016

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

lokeshh added a commit to lokeshh/ProxyHelper that referenced this issue Dec 16, 2016
@lokeshh
Copy link
Member Author

lokeshh commented Dec 16, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant