Flash Plugin / Update Manager / PROXY not being honored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flashplugin-nonfree (Ubuntu) |
Fix Released
|
Medium
|
Marc Deslauriers | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Medium
|
Marc Deslauriers |
Bug Description
Binary package hint: firefox
lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
Here is what happens,
I cannot get Flash Working.
When I run Synaptic Package Manager and try to select
flashplugin-nonfree
Here is what happens:
Preconfiguring packages ...
Selecting previously deselected package flashplugin-
(Reading database ... 146498 files and directories currently installed.)
Unpacking flashplugin-
amd64.deb) ...
Selecting previously deselected package flashplugin-
Unpacking flashplugin-nonfree (from .../flashplugin
Setting up flashplugin-
Downloading...
--2010-05-14 09:00:28-- http://
Resolving archive.
Connecting to archive.
Retrying
The issue is this when trying to get this package, it is not going thru my proxy server.
However all other package downloads via this interface do.
I can see the :80 and while running a TCPDUMP on my host I see the traffic desinted for this site over 80 ..
For some reason this one specific package cannot connect and pull this off via proxy.
I can open firefox and browse to this dirctory on the distant end just fine and even download the file. When I run other package downloads all traffic is routed via my proxy settings according to tcpdump and they all work fine,
It is almost like there is a post install instruction somewhere that is overriding the proxy and trying to send it straight out to 80 which is not allowed.
j
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: firefox 3.6.3+nobinonly
ProcVersionSign
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri May 14 08:55:42 2010
FirefoxPackages:
firefox 3.6.3+nobinonly
firefox-
firefox-branding 3.6.3+nobinonly
abroswer N/A
abrowser-branding N/A
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: firefox
CVE References
affects: | firefox (Ubuntu) → flashplugin-nonfree (Ubuntu) |
Changed in flashplugin-nonfree (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in flashplugin-nonfree (Ubuntu): | |
assignee: | Marc Deslauriers (mdeslaur) → Micah Gersten (micahg) |
status: | Confirmed → In Progress |
This affects me as well with flashplugin- installer_ 10.1.85. 3ubuntu0. 10.04.1_ amd64.deb (and all previous versions). The reason this happens is that the postinst script ignores all apt proxy settings when using wget to fetch the tarball.
I have a workaround though: myproxy. com:myport/ dpkg-reconfigure flashplugin- installer, or, more generally: :http:: Proxy) dpkg-reconfigure flashplugin- installer'
I let the download fail for exactly 20 tries -- incidentally, this can't easily be cancelled (you must 'kill' the wget process) and that is a separate but equally important bug against this package, IMO. After that, i just sudo http_proxy=http://
sudo bash -c 'eval $(apt-config shell http_proxy Acquire:
(replace http with https or ftp if that's what you use)
The proper way to fix this is to have the postinst script that's using wget to fetch the tarball honor what's in /etc/apt/ apt.conf{ ,d/*}, that way the user doesn't have to set the proxy through environment variables that wget will pick up. Here's a patch that does that along with reducing the tries to a more reasonable count of 2:
--- postinst 2010-09-20 16:40:50.000000000 -0700
echo "dirstruct = off" >> wgetrc
echo "verbose = on" >> wgetrc
echo "progress = dot:default" >> wgetrc :http:: Proxy \ :https: :Proxy \
+++ postinst.fixed 2010-11-02 17:31:06.969230608 -0700
@@ -62,6 +62,12 @@
+ echo "tries = 2" >> wgetrc
+ eval export $(apt-config shell \
+ http_proxy Acquire:
+ https_proxy Acquire:
+ ftp_proxy Acquire::ftp::Proxy \
+ )
# downloading the plugin
echo "Downloading..."
I've tested this and it should be a comprehensive fix for the problem, as far as I can tell.