[Bug 362979] Re: apt-p2p 504 Gateway Timeout error due to Network Proxy being set
Tim Schofield
tim at scoffer.net
Thu Apr 23 13:47:45 UTC 2009
OK so I have now traced where the extra http:/ is coming from so I
kludged
/var/lib/python-support/python2.6/apt_p2p/HTTPServer.py as below
if self.manager:
#path = 'http:/' + req.uri
path = req.uri
if resp.code >= 200 and resp.code < 400:
deleted /var/lib/python-support/python2.6/apt_p2p/HTTPServer.pyc
and restarted apt-p2p this should recompile the above file
sudo /etc/ini.d/apt-p2p restart
My apt-p2p now works fine using clean sources.list file and using
Acquire::http::Proxy "http://localhost:9977";
I turned back on my proxy settings in System Preferences and apt-get
starts getting stuff through the proxy again. After googling I find the
apt.conf man page says "The http_proxy environment variable will
override all settings". This seems a bit counter intuitive to have per
application settings overwritten by a system/user setting.
Anyway so back where I started I cannot use apt-p2p with my proxy
settings turned on, any ideas.
--
apt-p2p 504 Gateway Timeout error due to Network Proxy being set
https://bugs.launchpad.net/bugs/362979
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