Package: approx Version: 5.3-1 Severity: normal Dear Maintainer, Thank you for your time and work on packaging Approx. I'm using Approx for long time. I have no problems on central locality, where approx is running on architecture amd64. I noticed some problems on remote locality and solved this by cleaning Approx's cache. I looked on problem a bit more today. I'm running a regular job to prepare the PXE boot with Debian installer. Debian installer on my remote locality behaved strangely (different versions of kernel and modules...)
My script does this: ... MIRROR=http://localhost:9999/debian ... curl -s $MIRROR/dists/$dist/main/installer-$arch/current/images/netboot/netboot.tar.gz \ | tar -zxf - ... The extracted installer is outdated. I looked into cache and yes: -rw-r--r-- 1 approx approx 13688418 Jun 13 2013 /var/cache/approx/debian/dists/stable/main/installer-amd64/current/images/netboot/netboot.tar.gz I have switched debug and verbose on and try to download the file using curl from upstream and via Approx: zito@lin:~$ curl -v http://ftp.debian.cz/debian/dists/stable/main/installer-amd64/current/images/netboot/netboot.tar.gz >/dev/null * About to connect() to ftp.debian.cz port 80 (#0) * Trying 195.113.161.73... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* connected * Connected to ftp.debian.cz (195.113.161.73) port 80 (#0) > GET /debian/dists/stable/main/installer-amd64/current/images/netboot/netboot.tar.gz HTTP/1.1 > User-Agent: curl/7.26.0 > Host: ftp.debian.cz > Accept: */* > * additional stuff not fine transfer.c:1037: 0 0 * HTTP 1.1 or later with persistent connection, pipelining supported < HTTP/1.1 200 OK < Date: Tue, 12 Aug 2014 16:01:39 GMT < Server: Apache/2.2.22 (Debian) < Last-Modified: Thu, 24 Apr 2014 07:45:31 GMT < ETag: "1e00443-d1474b-4f7c5088e3cc0" < Accept-Ranges: bytes < Content-Length: 13715275 < Content-Type: application/x-gzip < { [data not shown] 3 13.0M 3 526k 0 0 225k 0 0:00:59 0:00:02 0:00:57 234k^C The upstream returned header Last-Modified: Thu, 24 Apr 2014 07:45:31 GMT. zito@lin:~$ curl -v http://localhost:9999/debian/dists/stable/main/installer-amd64/current/images/netboot/netboot.tar.gz >/dev/null * About to connect() to localhost port 9999 (#0) * Trying 127.0.0.1... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* connected * Connected to localhost (127.0.0.1) port 9999 (#0) > GET /debian/dists/stable/main/installer-amd64/current/images/netboot/netboot.tar.gz HTTP/1.1 > User-Agent: curl/7.26.0 > Host: localhost:9999 > Accept: */* > * additional stuff not fine transfer.c:1037: 0 0 * HTTP 1.1 or later with persistent connection, pipelining supported < HTTP/1.1 200 OK < Last-Modified: Thu, 13 Jun 2013 10:15:26 GMT < Content-Type: text/plain < Content-Length: 13688418 < Date: Tue, 12 Aug 2014 16:03:37 GMT < Server: approx/5.3 Ocamlnet/3.5.1 < { [data not shown] 100 13.0M 100 13.0M 0 0 97.9M 0 --:--:-- --:--:-- --:--:-- 99.6M * Connection #0 to host localhost left intact * Closing connection #0 Approx returned old data. Aug 12 18:03:37 lin approx[5897]: Connection from 127.0.0.1 port 38302 Aug 12 18:03:37 lin approx[5897]: Request: GET /debian/dists/stable/main/installer-amd64/current/images/netboot/netboot.tar.gz Aug 12 18:03:37 lin approx[5897]: User-Agent: curl/7.26.0 Aug 12 18:03:37 lin approx[5897]: Host: localhost:9999 Aug 12 18:03:37 lin approx[5897]: Accept: */* Aug 12 18:03:37 lin approx[5897]: => delivering from cache Aug 12 18:03:37 lin approx[5897]: Local response Aug 12 18:03:37 lin approx[5897]: Last-Modified: Thu, 13 Jun 2013 10:15:26 GMT Aug 12 18:03:37 lin approx[5897]: Content-Type: text/plain Aug 12 18:03:37 lin approx[5897]: Content-Length: 13688418 I hope this is not my miss-configuration somewhere... Cheers -- Zito -- System Information: Debian Release: 7.6 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages approx depends on: ii adduser 3.113+nmu3 ii curl 7.26.0-1+wheezy9 ii debconf [debconf-2.0] 1.5.49 ii libc6 2.13-38+deb7u3 ii libpcre3 1:8.30-5 ii rsyslog [system-log-daemon] 5.8.11-3 ii update-inetd 4.43 ii xinetd [inet-superserver] 1:2.3.14-7.1+deb7u1 approx recommends no packages. Versions of packages approx suggests: pn libconfig-model-approx-perl <none> -- Configuration Files: /etc/approx/approx.conf changed: debian http://ftp.debian.cz/debian security http://security.debian.org/debian-security volatile http://volatile.debian.org/debian-volatile backports http://backports.debian.org/debian-backports multimedia http://www.deb-multimedia.org/ ubuntu http://cz.archive.ubuntu.com/ dellomsa http://ftp.sara.nl/pub/sara-omsa dellomsa-latest http://linux.dell.com/repo/community/deb/latest dellomsa-6.5 http://linux.dell.com/repo/community/deb/OMSA_6.5 debian-icz file:///srv/www/debian-icz $interval 10 $offline false $verbose true $debug true -- debconf information: approx/port: 9999 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org