I'm also seeing this problem. Here's my apt-proxy-v2.conf and some detailed
output. I hope this helps.
$ cat /etc/apt-proxy/apt-proxy-v2.conf
[DEFAULT]
;; All times are in seconds, but you can add a suffix
;; for minutes(m), hours(h) or days(d)
;; Server IP to listen on
;address = 192.168.0.254
;; Server port to listen on
port =
;; Control files (Packages/Sources/Contents) refresh rate
;;
;; Minimum time between attempts to refresh a file
min_refresh_delay = 1h
;; Minimum age of a file before attempting an update (NOT YET IMPLEMENTED)
;min_age = 23h
;; Uncomment to make apt-proxy continue downloading even if all
;; clients disconnect. This is probably not a good idea on a
;; dial up line.
;; complete_clientless_downloads = 1
;; Debugging settings.
;; for all debug information use this:
;; debug = all:9
;debug = all:4 db:0
debug = all:9 db:7
;; Debugging remote python console
;; Do not enable in an untrusted environment
;telnet_port = 9998
;telnet_user = apt-proxy
;telnet_password = secret
;; Network timeout when retrieving from backend servers
timeout = 15
;; Cache directory for apt-proxy
cache_dir = /var/cache/apt-proxy
;; Use passive FTP? (default=on)
;passive_ftp = on
;; Use HTTP proxy?
;http_proxy = host:port
;; Enable HTTP pipelining within apt-proxy (for test purposes)
;disable_pipelining=0
;;--
;; Cache housekeeping
;; Time to perform periodic housekeeping:
;; - delete files that have not been accessed in max_age
;; - scan cache directories and update internal tables
cleanup_freq = 1d
;; Maximum age of files before deletion from the cache (seconds)
max_age = 120d
;; Maximum number of versions of a .deb to keep per distribution
max_versions = 4
;; Add HTTP backends dynamicaly if not already defined? (default=on)
;dynamic_backends = on
;;---
;;---
;; Backend servers
;;
;; Place each server in its own [section]
;[main]
;backends =
; ftp://ftp.wa.au.debian.org/debian
[debian]
backends =
ftp://ftp.au.debian.org/debian
ftp://ftp.wa.au.debian.org/debian
rsync://mirror.aarnet.edu.au/debian
[security]
backends =
http://security.debian.org
[non-US]
backends =
rsync://ftp.wa.au.debian.org/debian-non-US
ftp://ftp.au.debian.org/pub/debian-non-US
$
$ sudo apt-get install cdrecord
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
wodim
Suggested packages:
xcdroast cdrtools-doc cdrkit-doc
The following NEW packages will be installed
wodim
The following packages will be upgraded:
cdrecord
1 upgraded, 1 newly installed, 0 to remove and 526 not upgraded.
Need to get 395kB of archives.
After unpacking 221kB disk space will be freed.
Do you want to continue [Y/n]?
Errhttp://localhost sid/main cdrecord 5:1.0~pre4-1
404 file not found on backend
Errhttp://localhost sid/main wodim 5:1.0~pre4-1
404 file not found on backend
Failed to fetch
http://localhost:/debian/pool/main/c/cdrkit/cdrecord_1.0~pre4-1_all.deb
404 file not found on backend
Failed to fetch
http://localhost:/debian/pool/main/c/cdrkit/wodim_1.0~pre4-1_powerpc.deb
404 file not found on backend
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
$
$ sudo tail -F /var/log/apt-proxy.log
[10 lines deleted...]
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [Request] New Request, queued=0
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [debug] Header: Host: localhost:
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [debug] Header: Connection:
keep-alive
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [debug] Header: User-Agent: Debian
APT-HTTP/1.3
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [debug] Headers: Host:
localhost:, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [Request] Request: GET
/debian/pool/main/c/cdrkit/cdrecord_1.0%7epre4-1_all.deb backend=debian
uri=/debian/pool/main/c/cdrkit/cdrecord_1.0%7epre4-1_all.deb
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [debug] backend: debian
[,
,
]
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [debug] New Cache entry:
pool/main/c/cdrkit/cdrecord_1.0%7epre4-1_all.deb
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [CacheEntry] start
download:pool/main/c/cdrkit/cdrecord_1.0%7epre4-1_all.deb
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [DownloadQueuePerClient] Adding new
queue for client id 7
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [DownloadQueue] start next download
(debian/pool/main/c/cdrkit/cdrecord_1.0%7epre4-1_all.deb)
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [DownloadQueue] creating new fetcher
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [fetcher] fetcher
start:cdrecord_1.0%7epre4-1_all.deb
2006/09/17 00:12 WST [Channel,1,127.0.0.1] [Fetcher] Downloading:
/var/cache/apt-proxy/d