Comment 1 for bug 290062

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