[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: jigdo-lite Error: ... does not match checksum in template data



Richard Atterer <richard@list04.atterer.net> wrote:
> On Sat, Oct 02, 2004 at 03:12:14PM +0200, Achim Löbbert wrote:
> > using yesterday's official sarge templates I am getting tons of errors
> > once jigdo-lite starts to write the DVD iso image:
> [...]
> > Merging parts from `file:' URIs, if any...
> > Found 6720 of the 6720 files required by the template
> > Error: `/pub/mirrors/ftp.debian.org/debian/pool/main/a/adduser/adduser_3.59_all.deb' does not match checksum in template data
> > Error: `/pub/mirrors/ftp.debian.org/debian/pool/main/a/apt/apt_0.5.27_i386.deb' does not match checksum in template data
> 
> As you say later, this error only happens if a file's md5sum changes
> between the initial scan and copying the matching file to the image. :-|

This time I let it run until it wrote 100% of the image. Then it
started to download files in some random, at least non-alphabetic
order. After the first 10 files there is this message:

  FINISHED --16:15:24--
  Downloaded: 4,462,916 bytes in 10 files
  Found 10 of the 5042 files required by the template

which indicates to me that it wants to download 5042 of the 6720 files
required by the template. Of course I stopped it again.

> Apart from undetected read errors on your HD (unlikely...), another 

I compared the files downloaded to a tmp directory with the ones of my
mirror and found them to be identical:

$ cd ./sarge-i386-1.iso.tmpdir/gluck.debian.org/cdimage/snapshot/dvd/i386/Debian/pool/main
$ find -type f
./g/gxine/gxine_0.3.3-3_i386.deb
./g/gnutls11/gnutls-bin_1.0.16-7_i386.deb
./j/joystick/joystick_20010903-2_i386.deb
./l/lg-issue50/lg-issue50_2-1_all.deb
./s/sc/sc_7.16-2_i386.deb
./libc/libcaca/libcaca-dev_0.9-4_i386.deb
./libh/libhtml-tree-perl/libhtml-tree-perl_3.18-1_all.deb
./libp/libproplist/libproplist0_0.10.1-8_i386.deb
./libt/libtool/libtool-doc_1.5.6-2_all.deb
$ cmp                                          g/gnutls11/gnutls-bin_1.0.16-7_i386.deb \
  /pub/mirrors/ftp.debian.org/debian/pool/main/g/gnutls11/gnutls-bin_1.0.16-7_i386.deb

> reason for this might be a corrupted cache file.

I first tried with a two week old jigdo-file-cache.db in the same
directory. Next time I deleted it prior to running jigdo-lite, both
with the same result.

> You can check whether this is the case by trying
> 
>   jigdo-file --cache=path/to/cache.db md5sum /pub/mirrors/ftp.debian.org/debian/pool/main/a/adduser/adduser_3.59_all.deb
> 
> once with and once without the --cache switch.

$ jigdo-file --cache=jigdo-file-cache.db md5sum /pub/mirrors/ftp.debian.org/debian/pool/main/a/adduser/adduser_3.59_all.deb
K3IwZGUJlF7q6sCv7t8PfA  /pub/mirrors/ftp.debian.org/debian/pool/main/a/adduser/adduser_3.59_all.deb
$ jigdo-file md5sum /pub/mirrors/ftp.debian.org/debian/pool/main/a/adduser/adduser_3.59_all.deb
K3IwZGUJlF7q6sCv7t8PfA  /pub/mirrors/ftp.debian.org/debian/pool/main/a/adduser/adduser_3.59_all.deb

Both checksums look the same.

> This problem with the cache will also appear if something changed the
> content of files in your mirror without also changing the mtime of the
> file. Examples include incorrect mirroring (rsync problems?) or storing the
> mirror on a FAT32 filesystem and enabling its broken CRLF<->LF conversion.

The mirror is on a ReiserFS on kernel 2.6.8.1, kept up-to-date by a
modified debmirror. Purging is done by own script with 90 days
latency. The mirror logs show no problems.

> > Files in the local mirror [file:/pub/mirrors/ftp.debian.org/debian/] are
> > unlikely to have changed between the scan and writing the image. Two
> > weeks ago jigdo-lite version 0.7.1-4 did not produce such errors.
> 
> And the version that exhibits the problem is also 0.7.1-4?

Yes, I use that version since July 6th.

Achim



Reply to: