Bug#641769: Debian mirror - Transient hash sum mismatches for Translations files
Bonjour Jean-François, Hi Jean-François,
You might remember about a problem with iWeb's Debian mirror last year. Basically, APT fails to updates its indices if it contacts iWeb while iWeb is syncing. I understand that you quickly fixed this problem after being contacted by Simon Paillard in May 2012, by upgrading ftpsync to version 80387 (see http://debian.mirror.iweb.ca/debian/project/trace/debian.mirror.iweb.ca ).
Unfortunately, a new variant of this problem has appeared with the introduction of package translations causing similar symptoms to occur:
> # LANG=C apt-get update
> Hithttp://debian.mirror.iweb.ca wheezy InRelease
> Hithttp://debian.mirror.iweb.ca sid InRelease
> Hithttp://debian.mirror.iweb.ca experimental InRelease
> Hithttp://security.debian.org wheezy/updates InRelease
> Hithttp://debian.mirror.iweb.ca wheezy/main i386 Packages/DiffIndex
> Hithttp://debian.mirror.iweb.ca wheezy/contrib i386 Packages/DiffIndex
> Hithttp://debian.mirror.iweb.ca wheezy/non-free i386 Packages/DiffIndex
> Hithttp://debian.mirror.iweb.ca wheezy/contrib Translation-en/DiffIndex
> Get:1http://debian.mirror.iweb.ca wheezy/main Translation-en [3834 kB]
> Hithttp://debian.mirror.iweb.ca wheezy/non-free Translation-en/DiffIndex
> Hithttp://debian.mirror.iweb.ca sid/main Sources/DiffIndex
> Hithttp://debian.mirror.iweb.ca sid/main i386 Packages/DiffIndex
> Hithttp://security.debian.org wheezy/updates/main i386 Packages
> Hithttp://debian.mirror.iweb.ca sid/contrib i386 Packages/DiffIndex
> Hithttp://debian.mirror.iweb.ca sid/non-free i386 Packages/DiffIndex
> Get:2http://debian.mirror.iweb.ca sid/contrib Translation-en [36.8 kB]
> Ignhttp://security.debian.org wheezy/updates/main Translation-en
> Get:3http://debian.mirror.iweb.ca sid/main Translation-en [3953 kB]
> Hithttp://debian.mirror.iweb.ca sid/non-free Translation-en/DiffIndex
> Hithttp://debian.mirror.iweb.ca experimental/main i386 Packages/DiffIndex
> Hithttp://debian.mirror.iweb.ca experimental/contrib i386
> Packages/DiffIndex
> Hithttp://debian.mirror.iweb.ca experimental/non-free i386
> Packages/DiffIndex
> Hithttp://debian.mirror.iweb.ca experimental/contrib
> Translation-en/DiffIndex
> Get:4http://debian.mirror.iweb.ca experimental/main Translation-en
> [137 kB]
> Hithttp://debian.mirror.iweb.ca experimental/non-free
> Translation-en/DiffIndex
> Fetched 4 B in 8s (0 B/s)
> W: Failed to fetch
> bzip2:/var/lib/apt/lists/partial/debian.mirror.iweb.ca_debian_dists_wheezy_main_i18n_Translation-en
> Hash Sum mismatch
>
> W: Failed to fetch
> bzip2:/var/lib/apt/lists/partial/debian.mirror.iweb.ca_debian_dists_sid_contrib_i18n_Translation-en
> Hash Sum mismatch
>
> W: Failed to fetch
> bzip2:/var/lib/apt/lists/partial/debian.mirror.iweb.ca_debian_dists_sid_main_i18n_Translation-en
> Hash Sum mismatch
>
> W: Failed to fetch
> bzip2:/var/lib/apt/lists/partial/debian.mirror.iweb.ca_debian_dists_experimental_main_i18n_Translation-en
> Hash Sum mismatch
>
> E: Some index files failed to download. They have been ignored, or old
> ones used instead.
> root@vinci:/var/log#
Although I'd argue that this is more an APT bug, one way to avoid the problem would be to update iWeb's ftpsync version (to 80486), or to switch to ftpsync-pushrsync. The latter should solve this kind of problem for good.
Thank you
--
Filipus Klutiero
http://www.philippecloutier.com
Reply to: