Comment 3 for bug 46776

Revision history for this message
Tim Frost (timfrost) wrote : Re: apt-proxy is running but can't do apt-get update

Because I have multiple machines, and was testing dapper under vmware, I installed apt-proxy under breezy. After upgrading to dapper, I get errors similar to
Failed to fetch http://marvin:9999/ubuntu/dists/dapper-updates/universe/binary-i386/Packages.gz 503 Service Unavailable

(marvin is the name of the machine that apt-proxy is running on.

apt-proxy.log shows:
2006/06/03 21:12 NZST [Channel,216,192.168.13.2] Starting factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6d1b12c>
2006/06/03 21:12 NZST [-] "[error] [ubuntu] Connection Failed: /dists/dapper/Release.gpg (DNS lookup failed: address 'ubuntu' not found: (-2, 'Name or service not known').)"
2006/06/03 21:12 NZST [-] Stopping factory <apt_proxy.apt_proxy.ClientFactory instance at 0xb6d1b12c>

/etc/apt-proxy/apt-proxy-v2.conf has the following entries for ubuntu:
[ubuntu]
;; Ubuntu archive
backends = http://archive.ubuntu.com/ubuntu

[ubuntu-security]
;; Ubuntu security updates
backends = http://security.ubuntu.com/ubuntu

The error indicates that the backend parsing is wrong - the path is being picked up as the host name