installer seems to ignore proxy-settings

Bug #290062 reported by mveltre
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: flashplugin-nonfree

Package: flashplugin-nonfree 10.0.12.36ubuntu1

hi,

when installing flashplugin-nonfree on intrepid, the install-process ignores the proxy-settings of both /etc/apt/apt.conf and any .wgetrc. It looks like the installer uses an old wget-version, which ignores the proxy-settings. If the installation is done by synaptic, no error is reported on installation.

To test this behavior try:
- connect to a network where no direct internet access is possible but trough a http-proxy
- set proxy settings in /etc/apt/sources.list and /home/<YourUser>/.wgetrc and /root/.wgetrc
- sudo apt-get install flashplugin-nonfree

The only way I found to enable the flashplugin is to re-install it when connected to the internet without using a proxy.

Thanks,
Markus

Revision history for this message
nanouck (nanouck) wrote :

Hi,

looking at postinstall script

cd /var/cache/flashplugin-installer
[...]
# setting wget options
  :> wgetrc
  echo "noclobber = off" >> wgetrc
  echo "dir_prefix = ." >> wgetrc
  echo "dirstruct = off" >> wgetrc
  echo "verbose = on" >> wgetrc
  echo "progress = dot:default" >> wgetrc
# downloading the plugin
  echo "Downloading..."
  rm -f $FILENAME
  WGETRC=wgetrc wget $PARTNER_URL \
   || fp_exit_with_error "download failed"
  rm -f wgetrc
  echo "Download done."

So it is overwriting /root/.wgetrc where maybe proxy settings are.

But it should get proxy settings from gnome or synaptic configuration

my workaround is to create a wget fake command
#/!bin/sh
HTTP_PROXY="http://ip:port"
PROXY_USER=proxyuser
PROXY_PASSWD=proxypass
http_proxy=$HTTP_PROXY /usr/bin/wget --http-password=$PROXY_PASSWD --http-user=$PROXY_USER $1

then
export PATH=path_of_faked_wget:$PATH

Revision history for this message
Savvas Radevic (medigeek) wrote :

Please forward your idea here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499891

However, a similar fix is already mentioned:
"http_proxy=http://my.proxy.intranet:8080/ apt-get install flashplugin-nonfree"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in flashplugin-nonfree (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.