proxy settings doesn't seem to work with gui apps

Asked by Sven Kreienbrock

Hi,

I configured all proxy-settings I remembered in my 12.04 system. Still all the graphical apps which could install software don't work behind the proxy.

I configured apt with Aquire::http::proxy, Aquire::https::proxy and Aquire::ftp::proxy as well as http::proxy and so on.
I configured /etc/environment or manually exported the environment variables http_proxy and https_proxy
I configured the network-proxy settings of the system (apply system-wide)

And still Software like the Software-Center or the gnome-language-selector (or a part of it) can't install their packages.

I've to use the shell with "sudo -E" to get it work. But that does not fix my problem with those graphical tools.

Help appreciated.
Best regards,

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

From terminal create or modify the /etc/apt/apt.conf file , type:

gksudo gedit /etc/apt/apt.conf

and put a row like this:

http::proxy "http://192.168.1.75:3128/";

Save and exit then retry... you can do it from terminal, type:

sudo apt-get update
sudo apt-get sdist-upgrade

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Sorry better...

From terminal create or modify the /etc/apt/apt.conf file , type:

gksudo gedit /etc/apt/apt.conf

and put a row like this:

http::proxy "http://192.168.1.75:3128/";

Save and exit then retry... you can do it from terminal, type:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Revision history for this message
Sven Kreienbrock (vinterkind) said :
#3

Well I prefer vim, but thanks! :-)

Unfortunately I've already configured apt with http::proxy as written above. And If I weren't such a shell geek, I'd be much more pissed of at that. The strange thing is that I've no problems with apt in the shell. Everything seems fine. The only one thing I need to do is to use "sudo -E apt-*" to export my http_proxy variable (Why hasn't root the vars from /etc/environment?). But even the exported http_proxy var in .profile/.bashrc of /root/ doesn't change this.

Maybe I missed another configuration ?

cheers,

Revision history for this message
olepo76 (pazir83) said :
#4

Yes there are so many proxy settings that are not working well as they mentioned here https://apkmodstudio.com/ the same thing.

Can you help with this problem?

Provide an answer of your own, or ask Sven Kreienbrock for more information if necessary.

To post a message you must log in.