Unable to install - wget unable to go through proxy as standard user

Bug #617746 reported by Andre Rossouw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: flashplugin-nonfree

I experienced the problem with flashpugin-installer - but am sure it is related to wget. Not sure where to file that bug.
Error only occurs when behind a proxy. All other programs function as expected behind proxy

Using ubuntu 10.04, kernel 2.6.32-24-generic i686
wget version: 1.12-1.1ubuntu2
flashplugin-installer version: 10.1.82.76ubuntu0.10.04.2
environment variables set to: http_proxy=server:port

When doing upgrade or installing:
# sudo apt-get install flashplugin-installer
the packages install as expected. When flashplugin-installer then tries to fetch the files from the canonical site - wget never initiates the proxy connection.
Flashplugin-installer fails, and the user is left without flash.

Workaround is to run as root:
# sudo su -
$ export http_proxy=server:port
$ apt-get remove flashplugin-installer
$ apt-get install flashplugin-installer

Revision history for this message
Andrey Bondarenko (abone) wrote :

You can also edit /etc/wgetrc and set there following variables:
http_proxy = server:port
ftp_proxy = server:port

Then reinstall flashplugin installer with:
sudo apt-get install --reinstall flashplugin-installer

This solution will help you during further upgrades. You will avoid further manual setting of environment variables and reinstall plugin as root.

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.