Package: approx
Version: 5.1-1
Severity: normal

Dear Maintainer,

as a DD myself I run approx behind my DSL line to update my main host
and the virtual environments. Sometimes updating the pbuilder
environment fails with

 W: Failed to fetch 
gzip:/var/lib/apt/lists/partial/localhost:9999_debian_dists_sid_main_binary-amd64_Packages
  Hash Sum mismatch
 E: Some index files failed to download. They have been ignored, or old ones 
used instead.

This is caused by approx returning a newer Packages file then given in
the corresponding InRelease file:

 $ HEAD http://{ftp.de.debian.org,localhost:9999}/debian/dists/sid/InRelease
 Server: Apache/2.2.9 (Debian) DAV/2          Server: approx/5.1 Ocamlnet/3.3.5
 Content-Length: 190134                       Content-Length: 190134
 Last-Modified: Sun, 05 Feb 2012 08:22:41 GMT Last-Modified: Sun, 05 Feb 2012 
02:22:38 GMT

Here the local version of approx is older then on the Debian server.

 $ HEAD 
http://{ftp.de.debian.org,localhost:9999}/debian/dists/sid/main/binary-amd64/Packages.gz
 Server: Apache/2.2.9 (Debian) DAV/2          Server: approx/5.1 Ocamlnet/3.3.5
 Content-Length: 7441825                      Content-Length: 7441825
 Content-Type: application/x-gzip             Content-Type: text/plain
 Last-Modified: Sun, 05 Feb 2012 08:03:52 GMT Last-Modified: Sun, 05 Feb 2012 
08:03:52 GMT

But the Packages file is newer then the InRelease file, so the hash sums won't
match.

If would probably help if approx knows about the Release.pgp → InRelease →
Packages* dependency and would use that knowledge to invalidate its cached
version to force a re-fetch of the *Release* files.
Currently I resolve this situation by deleting the *Release* files by hand each
time it happens.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages approx depends on:
ii  adduser                           3.113+nmu1
ii  curl                              7.24.0-1
ii  debconf [debconf-2.0]             1.5.41
ii  libc6                             2.13-26
ii  libpcre3                          8.12-4
ii  openbsd-inetd [inet-superserver]  0.20091229-1
ii  update-inetd                      4.41

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.de.debian.org/debian
univention      http://apt.univention.de
$max_redirects  0


-- 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

Reply via email to