update-manager fails to upgrade with socks proxy
I'm trying to upgrade from natty to oneiric using do-release-upgrade. The problem is that I have internet only through socks using a local shh tunnel connection created by using: ssh -g -D 8888 user@ip. The tunnel works great with firefox and using tsocks or proxychains with other applications, also works with do-release-upgrade at first stage, but after the "downloading upgrade tool" it clears the screen and seems like a call to apt-get or synaptic (or is it aptitude?) and all the connections tries keeps failing.
I've tried replacing apt-get in /usr/bin with a script that invokes first proxychains with parameters apt-get and $@, but that doesn't work either.
DistroRelease: Ubuntu 11.04
Package: update-manager 1:0.150.5
Uname: Linux 2.6.38-8-generic i686
Date: Tue Nov 29 10:49:31 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
UpgradeStatus: Upgraded to natty on 2011-11-29 (0 days ago)
See also bug 651229.