Ubuntu Lucid Breaks Wget Proxy Support
A big warning to the many users behind a proxy server who will be installing Ubuntu Lucid Lynx soon: wget isn’t going to work. You can read the details in this bug report on Launchpad.
Basically the problem is that if your proxy exclusion list ends with a comma character, wget can’t parse the $no_proxy environment variable and defaults to not using your proxy (usually configured in ~/.wgetrc or via the $http_proxy/$ftp_proxy environment variables). And the GNOME Network Proxy UI apparently leaves a trailing comma in there if you make changes to the ignored hosts list.
The quick workaround is to add the following to your ~/.bashrc:
export no_proxy=$(echo $no_proxy | sed 's/,$//')
I spent a couple of days figuring this out, so I hope it helps someone else. I don’t see any way the fix will be included in Lucid before it ships on Thursday, so people will need to use this workaround until then. It’s a shame because as an LTS release, a lot of enterprise users are going to run into problems right out of the gate.
May 2nd, 2010 at 5:15 am
Thanks a googol! I wget a lot & am behind a proxy server. This bug was a big show stopper. The show goes on thanks to your fix.
June 1st, 2010 at 9:08 am
Thanks – just saved my life!!!!
June 22nd, 2010 at 6:13 am
thanks , this helps.
BTW, how does this affect using bzr behind a proxy ?
July 16th, 2010 at 12:30 pm
You saved my life!!!
August 1st, 2010 at 8:50 am
Thanks a lot you saved my life with that.
September 8th, 2010 at 5:46 pm
Thank you.
You are a gentleman and a scholar!
You have saved me hours of wasted time.
Thanks again,
September 13th, 2010 at 10:01 am
Thank you very much. Without your help I would have stayed totally clueless. Everythink i checked seemed to be correctly configured.
August 14th, 2011 at 2:02 pm
I had the same problem and solved it by your post!! 😀 I’m very happy!!!
I used it for proxies from a proxylist site like http://AnonTux.com which is very perfect. And now I can use it again with your help!
thanks again
amsued