desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #89629
[Bug 1037662] Re: flashplugin-installer does not honor proxy settings
/usr/lib/update-notifier/package-data-downloader from update-notifier
uses python urllib
It seems to be problems when using proxies. In addition, urllib doesn't
supports https protocol.
https://docs.python.org/2/library/urllib.html#urllib-restrictions
Using a http proxy, adobe-flashplugin updates will work but not allways:
urllib.urlretrieve("http://archive.canonical.com/pool/partner/a/adobe-
flashplugin/adobe-flashplugin_11.2.202.425.orig.tar.gz", "adobe-
flashplugin.tar.gz")
Using a https proxy, pepflashpluguin updates will never work:
urllib.urlretrieve("https://dl-
ssl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-
chrome-stable_39.0.2171.95-1_i386.deb", "google-chrome.deb")
So, scripts must be something like:
export http_proxy=http://192.168.0.1:3128
export https_proxy=https://192.168.0.1:3128
apt-get install -y flashplugin-installer
apt-get install -y pepflashplugin-installer
echo "" >> /etc/chromium-browser/default
echo ". /usr/lib/pepflashplugin-installer/pepflashplayer.sh" >> /etc/chromium-browser/default
echo "" >> /etc/chromium-browser/default
unset http_proxy
unset https_proxy
apt-get --reinstall install -y flashplugin-installer
apt-get --reinstall install -y pepflashplugin-installer
Of course, if yo do this, your corporative firewall/proxy must allow
direct connections to archive.canonical.com (http) and dl-ssl.google.com
(https).
In my opinion, update-notifier (and other applications using urllib)
should avoid python urllib
There are many bugs related (in fact, they are duplicated):
https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/1209146
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/1098233
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/1037662
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1005837
https://bugs.launchpad.net/zc.buildout/+bug/484735
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to flashplugin-nonfree in Ubuntu.
https://bugs.launchpad.net/bugs/1037662
Title:
flashplugin-installer does not honor proxy settings
Status in flashplugin-nonfree package in Ubuntu:
Triaged
Bug description:
Description: Ubuntu quantal (development branch)
Release: 12.10
flashplugin-installer:
Installato: 11.2.202.238ubuntu1
Candidato: 11.2.202.238ubuntu1
Tabella versione:
*** 11.2.202.238ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ quantal/multiverse i386 Packages
100 /var/lib/dpkg/status
i'm behind a corporate proxy i can download with wget, curl and other
stuffs but the plugin flashplugin-nonfree do not traverse my proxy...
gui install mode and also this using terminal commands:
sudo apt-get install flashplugin-nonfree
nor with
sudo -E apt-get install flashplugin-nonfree
my env: "env | grep -i proxy"
http_proxy=http://192.168.100.59:3128/
ftp_proxy=ftp://192.168.100.59:3128/
socks_proxy=socks://192.168.100.59:3128/
UBUNTU_MENUPROXY=
https_proxy=https://192.168.100.59:3128/
Also i have the proxy values correctly set into /etc/apt/apt.conf to
traverse the proxy for the debs...
also set into /etc/sudoers
Defaults env_reset
Defaults env_keep="http_proxy https_proxy"
Available workaround:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/1098233
Thanks.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: flashplugin-installer 11.2.202.238ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-10.10-generic 3.5.1
Uname: Linux 3.5.0-10-generic i686
ApportVersion: 2.4-0ubuntu8
Architecture: i386
Date: Thu Aug 16 18:16:30 2012
ProcEnviron:
LANGUAGE=it:en
TERM=xterm
PATH=(custom, user)
LANG=it_IT.UTF-8
SHELL=/bin/bash
SourcePackage: flashplugin-nonfree
UpgradeStatus: Upgraded to quantal on 2012-07-02 (45 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/1037662/+subscriptions