From NetworkManager I have set proxy method to automatic with the correct url to pac-file.
I can browse the Internet fine with Firefox and Chromium.
I cannot however use the Update Manager or the Software Manager or select best mirror from Software Sources.
If I set the Acquire-prperties to the correct urls (read from the pac-file) in /etc/apt/apt.conf/00my-proxy I can install new software with Software Manager. I still cannot use the Update Manager or select the fastest mirror in Software Sources.
I have to additionally set http_proxy, https_proxy (and ftp_proxy) variables in env.
AND I have to set:
Defaults env_keep += "http_proxy https_proxy ftp_proxy auto_proxy"
Defaults env_keep += "DISPLAY XAUTHORITY"
in /etc/sudoers.d/my-proxy in order to be able to use Update Manager or Software Sources.
I my opinion just setting the proxy in single place (the NetworkManager) should be enough. Is there any way to make it work like that? Or is there a reason for updates and installs to not read the proxy settings from NetworkManagers settings?
Using Linux Mint 18.
From NetworkManager I have set proxy method to automatic with the correct url to pac-file.
I can browse the Internet fine with Firefox and Chromium.
I cannot however use the Update Manager or the Software Manager or select best mirror from Software Sources.
If I set the Acquire-prperties to the correct urls (read from the pac-file) in /etc/apt/ apt.conf/ 00my-proxy I can install new software with Software Manager. I still cannot use the Update Manager or select the fastest mirror in Software Sources.
I have to additionally set http_proxy, https_proxy (and ftp_proxy) variables in env.
AND I have to set:
Defaults env_keep += "http_proxy https_proxy ftp_proxy auto_proxy"
Defaults env_keep += "DISPLAY XAUTHORITY"
in /etc/sudoers. d/my-proxy in order to be able to use Update Manager or Software Sources.
I my opinion just setting the proxy in single place (the NetworkManager) should be enough. Is there any way to make it work like that? Or is there a reason for updates and installs to not read the proxy settings from NetworkManagers settings?