[Bug 290062] Re: installer seems to ignore proxy-settings

nanouck nanouck at gmail.com
Thu Apr 9 14:25:43 UTC 2009


*** This bug is a duplicate of bug 232469 ***
    https://bugs.launchpad.net/bugs/232469

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

-- 
installer seems to ignore proxy-settings
https://bugs.launchpad.net/bugs/290062
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list