From: Christian W. M. <wo...@dk...> - 2002-05-27 19:43:06
|
Hi, I just tried apt-proxy on a debian potato setup. It seems like it has = problems with symlinks in the debian archive or maybe I missed = something? It seems to download only the symlinks and not the files they = are refering to: An error full execution: ----------------------------------------------------------------- don:/etc/bind# apt-get upgrade Reading Package Lists... Done Building Dependency Tree... Done The following packages have been kept back mc mc-common=20 36 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Need to get 16.0MB of archives. After unpacking 10.3MB will be used. Do you want to continue? [Y/n]=20 Err http://debian.dkik.dk potato/main e2fsprogs 1.18-3.0potato1 404 File does not exist on any server 0% [Waiting for file]^C don:/etc/bind#=20 ----------------------------------------------------------------- sources.list from don: ----------------------------------------------------------------- deb http://debian.dkik.dk:9999/main potato main contrib non-free deb http://debian.dkik.dk:9999/non-US potato/non-US main contrib = non-free ----------------------------------------------------------------- From the log of apt-proxy: ----------------------------------------------------------------- [26464 21:32:31]: apt-proxy 1.3.1 [26464 21:32:31]: GET = /main/dists/potato/main/binary-i386/base/e2fsprogs_1.18-3.0potato1.deb = HTTP/1.1 [26464 21:32:31]: Host: debian.dkik.dk:9999 [26464 21:32:31]: Connection: keep-alive [26464 21:32:31]: Connection keep-alive [26464 21:32:31]: User-Agent: Debian APT-HTTP/1.2 26464 21:32:31]:=20 [26464 21:32:31]: Finished processing request [26464 21:32:31] Mon May 27 21:32:31 CEST 2002 Request = /main/dists/potato/main/binary-i386/base/e2fsprogs_1.18-3.0potato1.deb [26464 21:32:31]: Looking for file = `/main/dists/potato/main/binary-i386/base/e2fsprogs_1.18-3.0potato1.deb' [26464 21:32:31]: verify_file = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/e2fsprogs_1= .18-3.0potato1.deb [26464 21:32:31]: -- Created lock = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/e2fsprogs_1= .18-3.0potato1.deb.lock [26464 21:32:31]: Fetching = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/e2fsprogs_1= .18-3.0potato1.deb from ftp.de.debian.org::debian/ = ftp2.de.debian.org::debian/ ftp.se.debian.org::debian/ = ftp.us.debian.org::debian/ ftp.uk.debian.org::debian/ [26464 21:32:31]: Trying ftp.de.debian.org::debian/... [26464 21:32:31]: = download_url:ftp.de.debian.org::debian/dists/potato/main/binary-i386/base= /e2fsprogs_1.18-3.0potato1.deb = dest:/mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base = file:e2fsprogs_1.18-3.0potato1.deb.partial = [realname:/mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/e= 2fsprogs_1.18-3.0potato1.deb] IsDir:[] [26464 21:32:31]: Found best basis for = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/e2fsprogs_1= .18-3.0potato1.deb: [26464 21:32:31]: rsync --timeout=3D30 -v --perms --links --times = --partial = ftp.de.debian.org::debian/dists/potato/main/binary-i386/base/e2fsprogs_1.= 18-3.0potato1.deb = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/e2fsprogs_1= .18-3.0potato1.deb.partial [26464 21:32:32] wrote 153 bytes read 545 bytes 465.33 bytes/sec total = size is 71 speedup is 0.10 cp: = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/e2fsprogs_1= .18-3.0potato1.deb: No such file or directory [26464 21:32:32]: -- Removed lock = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/e2fsprogs_1= .18-3.0potato1.deb.lock [26464 21:32:32] Bad URL = /main/dists/potato/main/binary-i386/base/e2fsprogs_1.18-3.0potato1.deb = File does not exist on any server [26464 21:32:32]: write_header 404 File does not exist on any server, = keep-alive:keep-alive content:text/html size:250 date: enc: request: [26464 21:32:32]: GET = /main/dists/potato/main/binary-i386/base/gzip_1.2.4-33.1.deb HTTP/1.1 [26464 21:32:32]: Host: debian.dkik.dk:9999 [26464 21:32:32]: Connection: keep-alive [26464 21:32:32]: Connection keep-alive [26464 21:32:32]: User-Agent: Debian APT-HTTP/1.2 26464 21:32:32]:=20 [26464 21:32:32]: Finished processing request [26464 21:32:32] Mon May 27 21:32:32 CEST 2002 Request = /main/dists/potato/main/binary-i386/base/gzip_1.2.4-33.1.deb [26464 21:32:32]: Looking for file = `/main/dists/potato/main/binary-i386/base/gzip_1.2.4-33.1.deb' [26464 21:32:32]: verify_file = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/gzip_1.2.4-= 33.1.deb [26464 21:32:32]: -- Created lock = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/gzip_1.2.4-= 33.1.deb.lock [26464 21:32:32]: Fetching = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/gzip_1.2.4-= 33.1.deb from ftp.de.debian.org::debian/ ftp2.de.debian.org::debian/ = ftp.se.debian.org::debian/ ftp.us.debian.org::debian/ = ftp.uk.debian.org::debian/ [26464 21:32:32]: Trying ftp.de.debian.org::debian/... [26464 21:32:32]: = download_url:ftp.de.debian.org::debian/dists/potato/main/binary-i386/base= /gzip_1.2.4-33.1.deb = dest:/mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base = file:gzip_1.2.4-33.1.deb.partial = [realname:/mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/g= zip_1.2.4-33.1.deb] IsDir:[] [26464 21:32:32]: Found best basis for = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/gzip_1.2.4-= 33.1.deb: [26464 21:32:32]: rsync --timeout=3D30 -v --perms --links --times = --partial = ftp.de.debian.org::debian/dists/potato/main/binary-i386/base/gzip_1.2.4-3= 3.1.deb = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/gzip_1.2.4-= 33.1.deb.partial [26464 21:32:34] wrote 143 bytes read 520 bytes 265.20 bytes/sec total = size is 56 speedup is 0.08 cp: = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/gzip_1.2.4-= 33.1.deb: No such file or directory [26464 21:32:34]: -- Removed lock = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/gzip_1.2.4-= 33.1.deb.lock [26464 21:32:34] Bad URL = /main/dists/potato/main/binary-i386/base/gzip_1.2.4-33.1.deb File does = not exist on any server [26464 21:32:34]: write_header 404 File does not exist on any server, = keep-alive:keep-alive content:text/html size:240 date: enc: request: ----------------------------------------------------------------- An ls of the archive ----------------------------------------------------------------- [root@compaq log]$ ls -l = /mnt/data/apt-proxy/debian/dists/potato/main/binary-i386/base/=20 total 16 lrwxrwxrwx 1 aptproxy nogroup 71 May 27 21:04 = e2fsprogs_1.18-3.0potato1.deb.partial -> = ../../../../../pool/main/e/e2fsprogs/e2fsprogs_1.18-3.0potato1_i386.deb lrwxrwxrwx 1 aptproxy nogroup 56 May 27 21:04 = gzip_1.2.4-33.1.deb.partial -> = ../../../../../pool/main/g/gzip/gzip_1.2.4-33.1_i386.deb lrwxrwxrwx 1 aptproxy nogroup 56 May 27 21:04 = libc6_2.1.3-20.deb.partial -> = ../../../../../pool/main/g/glibc/libc6_2.1.3-20_i386.deb lrwxrwxrwx 1 aptproxy nogroup 70 May 27 21:04 = libncurses5_5.0-6.0potato2.deb.partial -> = ../../../../../pool/main/n/ncurses/libncurses5_5.0-6.0potato2_i386.deb lrwxrwxrwx 1 aptproxy nogroup 65 May 27 21:04 = libstdc++2.10_2.95.2-13.1.deb.partial -> = ../../../../../pool/main/g/gcc/libstdc++2.10_2.95.2-13.1_i386.deb lrwxrwxrwx 1 aptproxy nogroup 70 May 27 21:04 = ncurses-bin_5.0-6.0potato2.deb.partial -> = ../../../../../pool/main/n/ncurses/ncurses-bin_5.0-6.0potato2_i386.deb [root@compaq log]$=20 -------------------------------------------------------------- But these are all dangling symlinks... From apt-proxy.conf: -------------------------------------------------------------- APT_PROXY_CACHE=3D/mnt/data/apt-proxy add_backend /main/ \ $APT_PROXY_CACHE/debian/ \ ftp.de.debian.org::debian/ \ ftp2.de.debian.org::debian/ \ ftp.se.debian.org::debian/ \ ftp.us.debian.org::debian/ \ ftp.uk.debian.org::debian/ add_backend /non-US/ \ $APT_PROXY_CACHE/non-US/ \ ftp.de.debian.org::debian-non-US/ \ ftp2.de.debian.org::debian-non-US/ \ ftp.se.debian.org::debian-non-US/ \ ftp.uk.debian.org::debian/non-US/ add_backend /security/ \ $APT_PROXY_CACHE/security/ \ security.debian.org::debian-security/ \ non-us.debian.org::debian-security/ -------------------------------------------------------------- Christian |