installer seems to ignore proxy-settings
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/
- 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
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 ip:port" proxyuser proxypass $HTTP_PROXY /usr/bin/wget --http- password= $PROXY_ PASSWD --http- user=$PROXY_ USER $1
#/!bin/sh
HTTP_PROXY="http://
PROXY_USER=
PROXY_PASSWD=
http_proxy=
then of_faked_ wget:$PATH
export PATH=path_