Thought I would see what would happen if I tried configuring it the apt-
cacher way i.e a clean sources.list file (no localhost:9977 amendments)
and having  a file

/etc/apt/apt.conf.d/10apt-p2p

with the following line:-

Acquire::http::Proxy "http://localhost:9977";;

This bypasses the system proxy setting and provides a cleaner
configuration.  It seems to contact the apt-p2p daemon.  However there
seems to be a parsing issue of the url, notice the "http:/http://"; below
from the log /var/log/apt-p2p.log

2009-04-22 11:32:46+0100 [-] Unhandled Error
        Traceback (most recent call last):
        Failure: twisted.internet.error.ConnectionRefusedError: Connection was r
efused by other side: 111: Connection refused.
        
2009-04-22 11:32:46+0100 [-] Error occurred downloading http:/http://security.ub
untu.com/ubuntu/dists/jaunty-security/multiverse/binary-i386/Packages

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to