Web site improvement for systems with proxy settings

Asked by udippel

Sitting behind a proxy, Ubuntu is not yet intelligently enough to stay with the environment of the user. In a nutshell, the suggest command to obtain the repositories "sudo apt-get ..." will change the environment to the root user. And then the command fails, in case the root user has not set proxies.
My suggestion ('patch') is to use "sudo -E apt-get ..." instead. It is my conviction that the chances of the user being connected through a proxy is higher than that of the system administrator, when a proxy needs to be configured.

Question information

Language:
English Edit question
Status:
Solved
For:
Medibuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Gauvain Pocentek
Solved:
Last query:
Last reply:
Revision history for this message
Best Gauvain Pocentek (gpocentek) said :
#1

Using the -E switch probably makes sense for the wget part of the command.

But apt should have the proxy informations in its configuration files, and should not use the user environment.

Revision history for this message
udippel (udippel) said :
#2

Yep. But it doesn't.
And I didn't actually ask a question, I wanted to propose something that makes it easier for others to use. Because here, behind the proxy, your suggestion is not implemented by apt-get. At least, a copy&paste of the string doesn't get the medibuntu items set up. The sudo -E does.

How funny, I can only reply by clicking 'This Solved My Problem', while it actually doesn't.

What a crap. I wanted to help out, with a suggestion, RFE, and all I got was this lousy, by definition 'This Solved My Problem'-alternative.