Comment 17 for bug 983559

Revision history for this message
Torsten Hilbrich (torsten-hilbrich) wrote :

I can confirm the description of mikewse in comment #16.

If I get an update of flashplugin-installer via update-notifier, the update fails because the proxy settings are not used. I then ran:

sudo dpkg --purge flashplugin-installer; sudo apt-get install flashplugin-installer

and the package download works just fine.

My /etc/environment has settings for (example.com inserted in place of real domain):

http_proxy="http://proxy.example.com:3128/"
ftp_proxy="ftp://proxy.example.com:3128/"
https_proxy="https://proxy.example.com:3128/"
socks_proxy="socks://proxy.example.com:3128/"

In addition, the same proxies are configured in /etc/apt/apt.conf:

Acquire::http::proxy "http://proxy.example.com:3128/";
Acquire::ftp::proxy "ftp://proxy.example.com:3128/";
Acquire::https::proxy "https://proxy.example.com:3128/";
Acquire::socks::proxy "socks://proxy.example.com:3128/";

These environment variables are available in both "sudo -s" and "sudo -i".

The proxy was configured via the network settings tool as manual configuration and applied system-wide.

It seems that update-notifier does not provide these proxy settings to package-data-downloader.