desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #89632
[Bug 1098233] Re: flashplugin-installer do not honore proxy settings
*** This bug is a duplicate of bug 1037662 ***
https://bugs.launchpad.net/bugs/1037662
/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/1098233
Title:
flashplugin-installer do not honore proxy settings
Status in Adobe Flash Plugin Tools:
New
Status in The Update Notifier:
New
Status in flashplugin-nonfree package in Ubuntu:
Confirmed
Bug description:
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
flashplugin-installer:
Installato: 11.2.202.258ubuntu0.12.10.1
Candidato: 11.2.202.261ubuntu0.12.10.1
Tabella versione:
11.2.202.261ubuntu0.12.10.1 0
500 http://archive.ubuntu.com/ubuntu/ quantal-updates/multiverse i386 Packages
500 http://archive.ubuntu.com/ubuntu/ quantal-security/multiverse i386 Packages
*** 11.2.202.258ubuntu0.12.10.1 0
100 /var/lib/dpkg/status
11.2.202.243ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ quantal/multiverse i386 Packages
flashplugin-installer do not honore proxy settings so cannot download
the proxy so my update are frozen on
Elaborazione dei trigger per update-notifier-common...
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.261.orig.tar.gz
already reported:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/1037662
Very old issue still not solved... :-(
#---------------- Workaround for user with same issue ----------------
As a workaround... while the apt-get update process is frozen on the
row below
Elaborazione dei trigger per update-notifier-common...
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.261.orig.tar.gz
Opening another terminal...
wget http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.261.orig.tar.gz
sudo /usr/lib/flashplugin-installer/install_plugin $(pwd)/adobe-flashplugin_11.2.202.261.orig.tar.gz
rm adobe-flashplugin_11.2.202.261.orig.tar.gz
then to release the frozen update process, type:
sudo killall dpkg
or reboot the pc, then type:
sudo dpkg --configure -a
to check and put in a good state the apt env...
# --------------------------------------------------------------
Thanks
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: flashplugin-installer 11.2.202.258ubuntu0.12.10.1
Uname: Linux 3.7.1-030701-generic i686
ApportVersion: 2.6.1-0ubuntu9
Architecture: i386
Date: Thu Jan 10 15:39:05 2013
MarkForUpload: True
SourcePackage: flashplugin-nonfree
UpgradeStatus: Upgraded to quantal on 2012-07-02 (192 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/adobe-flash-plugin-tools/+bug/1098233/+subscriptions