Debian Bug report logs - #696792
Packages.diff/Index is invalid on s390x and armhf, listing last entry twice

Package: ftp.debian.org; Maintainer for ftp.debian.org is Debian FTP Master <ftpmaster@ftp-master.debian.org>;

Reported by: Raphaël Hertzog <hertzog@debian.org>

Date: Thu, 27 Dec 2012 08:03:02 UTC

Severity: important

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian FTP Master <ftpmaster@ftp-master.debian.org>:
Bug#696792; Package ftp.debian.org. (Thu, 27 Dec 2012 08:03:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raphaël Hertzog <hertzog@debian.org>:
New Bug report received and forwarded. Copy sent to Debian FTP Master <ftpmaster@ftp-master.debian.org>. (Thu, 27 Dec 2012 08:03:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Raphaël Hertzog <hertzog@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ftp.debian.org: Packages.diff/Index is invalid on s390x and armhf, listing last entry twice
Date: Thu, 27 Dec 2012 08:59:53 +0100
Package: ftp.debian.org
Severity: important

The last entries in Packages.diff/Index of s390x and armhf are incorrectly duplicated:
$ wget -q http://ftp.fr.debian.org/debian/dists/wheezy/main/binary-armhf/Packages.diff/Index  -O - | sort | uniq -c| grep -E "^\s+2"
      2  b56b4c25007235f27328d0ca38a9a4334528ab17   25767 2012-12-27-0211.10
      2  bf74965092c8c5d15b028c604bfee0e2499342c1 27653345 2012-12-27-0211.10
$ wget -q http://ftp.fr.debian.org/debian/dists/wheezy/main/binary-s390x/Packages.diff/Index  -O - | sort | uniq -c| grep -E "^\s+2"
      2  b56b4c25007235f27328d0ca38a9a4334528ab17   25767 2012-12-27-0211.10
      2  bf74965092c8c5d15b028c604bfee0e2499342c1 27653345 2012-12-27-0211.10

I detected this thanks to a warning generated by reprepro while trying to mirror
the Debian archive.

It also seems weird that both architectures are exactly identical and leading to the same
Packages.diff/Index.

$ wget -q http://ftp.fr.debian.org/debian/dists/wheezy/Release -O - | sed -e 's|binary-[^/]*/|binary-foo/|' | sort| uniq -c | grep -v -E "^\s+1"
      2  03326a2674f9b2c65e6a38ceebdd49b8     7819 non-free/binary-foo/Packages.diff/Index
      2  11b6d244505f59e0fa0082c4927d74a7     7876 main/binary-foo/Packages.diff/Index
      2  187f4a2e81c243b07df4eb42deec5c33cd75d85a     7876 main/binary-foo/Packages.diff/Index
      2  a36e661f11a6025073ee1aba464665682ce05975     7819 non-free/binary-foo/Packages.diff/Index
      2  bfcc09774bd884779ce9d195cc3385888d6ae9f5     7819 contrib/binary-foo/Packages.diff/Index
      2  cb987e9baa77bff07f8a309686d100930a9185cd430765f2d3a78edb3fa69f7e     7819 contrib/binary-foo/Packages.diff/Index
      2  d012373eb2d10c7ecc87617cc987d487     7819 contrib/binary-foo/Packages.diff/Index
      2  e8e5258c24c588f20bf766991ef5ae8ea42d5dd74b0335eb9a2965f7df10f927     7819 non-free/binary-foo/Packages.diff/Index
      2  ffae82effabfc6bdf61f9ffca3bb2e60f0eabb50bf014d314630c3a791287921     7876 main/binary-foo/Packages.diff/Index

If you check out those hashes, they correspond to armhf/s390x.

Maybe there's a misconfiguration that leads to the usage of the same file for
both architectures?

Cheers,
 Raphaël Hertzog.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian FTP Master <ftpmaster@ftp-master.debian.org>:
Bug#696792; Package ftp.debian.org. (Wed, 06 Feb 2013 19:42:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raphael Hertzog <hertzog@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian FTP Master <ftpmaster@ftp-master.debian.org>. (Wed, 06 Feb 2013 19:42:03 GMT) Full text and rfc822 format available.

Message #10 received at 696792@bugs.debian.org (full text, mbox):

From: Raphael Hertzog <hertzog@debian.org>
To: 696792@bugs.debian.org
Subject: Re: Bug#696792: ftp.debian.org: Packages.diff/Index is invalid on s390x and armhf, listing last entry twice
Date: Wed, 6 Feb 2013 20:39:34 +0100
Hi,

On Thu, 27 Dec 2012, Raphaël Hertzog wrote:
> Package: ftp.debian.org
> Severity: important
> 
> The last entries in Packages.diff/Index of s390x and armhf are incorrectly duplicated:
> $ wget -q http://ftp.fr.debian.org/debian/dists/wheezy/main/binary-armhf/Packages.diff/Index  -O - | sort | uniq -c| grep -E "^\s+2"
>       2  b56b4c25007235f27328d0ca38a9a4334528ab17   25767 2012-12-27-0211.10
>       2  bf74965092c8c5d15b028c604bfee0e2499342c1 27653345 2012-12-27-0211.10

FWIW the problem disappeared for this file (main) but can now be seen in
contrib and non-free:
$ wget -q http://ftp.fr.debian.org/debian/dists/wheezy/contrib/binary-armhf/Packages.diff/Index  -O - | sort | uniq -c| grep -E "^\s+2"
      2  36182b5035b226885b71a3dbd8e15ef20c57a0ec    1174 2013-02-03-0211.19
      2  5dfd6d2f5f05b55ff5164149af54016192147d25  132788 2013-02-03-0211.19
$ wget -q http://ftp.fr.debian.org/debian/dists/wheezy/non-free/binary-armhf/Packages.diff/Index  -O - | sort | uniq -c| grep -E "^\s+2"
      2  a16fc971d16833f5e2025876419ce9d77306e0f6    1608 2013-02-05-0211.20
      2  e3a0dcbefa47efc6f0579b5cfc8c9992fe21806c  236399 2013-02-05-0211.20

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/



Changed Bug title to 'Packages.diff/Index is invalid on s390x and armhf, listing last entry twice' from 'ftp.debian.org: Packages.diff/Index is invalid on s390x and armhf, listing last entry twice' Request was from Luca Falavigna <dktrkranz@debian.org> to control@bugs.debian.org. (Wed, 27 Nov 2013 09:12:05 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 21:42:22 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.