Re: New apt-repomd snapshot + other apt-rpm news

Panu Matilainen <[email protected]> Sat, 18 Mar 2006 06:15:50 -0800 (PST)
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
On Thu, 16 Mar 2006, Ville Skytt=E4 wrote:
>
> Builds nicely on pre-FC5 x86_64 (gcc 4.1), but reports a MD5Sum mismatch
> with Skype's repository [1] with which Smart, yum and the 01032006
> snapshot are happy with.
>
> [1] repomd http://download.skype.com/linux/repos/ fedora/3/updates/i586/

Looks to me as if smart and yum are actually in error here:

http://download.skype.com/linux/repos/fedora/3/updates/i586/repodata/repomd=
=2Exml=20
say this:
<data type=3D"primary">
<location href=3D"repodata/primary.xml.gz"/>
<checksum type=3D"sha">f1ead799142177415bc208f119dc073d40c6d824</checksum>
<timestamp>1130252136</timestamp>
<open-checksum=20
type=3D"sha">0ac0f01f1f9345bb1de2950d3dbebedeac83bae1</open-checksum>
</data>

[pmatilai@cs181072240 tmp]$ wget -q=20
http://download.skype.com/linux/repos/fedora/3/updates/i586/repodata/primar=
y.xml.gz
[pmatilai@cs181072240 tmp]$ sha1sum primary.xml.gz
dd052187a49d2f94a6a17a118a834dd0054c6fdb  primary.xml.gz
[pmatilai@cs181072240 tmp]$ gunzip primary.xml.gz
[pmatilai@cs181072240 tmp]$ sha1sum primary.xml
b14ecaaf3cd604d496658fbc15f43ca024bc2c4b  primary.xml

Those don't look anything like the checksum and open-checksum (for the=20
gunzipped case) in repomd.xml, so apt is right to complain about it. And=20
actually yum doesn't like it either:
primary.xml.gz            100% |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| 1.2 kB    00:00
http://download.skype.com/linux/repos/fedora/3/updates/i586/repodata/primar=
y.xml.gz:=20
[Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from skype: [Errno 256] No more=20
mirrors to try.

 =09- Panu -