Comment 1 for bug 105415

Revision history for this message
Berend De Schouwer (berend-de-schouwer) wrote : A suggested fix

I'm adding a patch that fixes synaptic 0.57.11.1ubuntu14 for me. It does two things:
1. If Synaptic has proxy preferences, it unsets http_proxy environment variable and related. These seem to override Synaptic settings.
2. It adds a trailing '/' to the proxy settings which appears to be necessary here. This is also necessary if I manually change /etc/apt/apt.conf.d/ to make command-line apt work. So Acquire::http::proxy needs 'http://user:pass@proxy:port/' instead of 'http://user:pass@proxy:port'. (WHY???)

The patch is a whole 33 lines (basically four one-line changes), and should read fairly obviously.