Thank you, that worked. I am sorry I didn't find the FAQ.

And... now I see checked against the open-checksum instead of the checksum.

From: Pat Riehecky [mailto:riehe...@fnal.gov]
Sent: 27 January 2016 19:00
To: Elias Wulcan <elias.wul...@apptus.com>; 
SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV
Subject: Re: [SCIENTIFIC-LINUX-USERS] Metadata Digest Mismatch On sl-security

Please try the workaround from: 
http://www.scientificlinux.org/documentation/faq/faq-updates/#not-match-checksum

Pat
On 01/27/2016 11:47 AM, Elias Wulcan wrote:
I was trying to use repoquery for a task but as it tried to fetch filelists for 
sl-security from its configured mirrors it failed on all of them with an error 
message "Metadata file does not match checksum".

The mirrors it tried where 
ftp.scientificlinux.org<ftp://ftp.scientificlinux.org>, ftp1 and ftp2 over http 
and ftp.scientificlinux.org<ftp://ftp.scientificlinux.org> again but over ftp.

Then I downloaded filelists.sqliste.bz2 and repomd.xml on another machine, 
calculated the SHA-256 digest of filelists and the result does not match repomd.

<data type="filelists_db">
<checksum type="sha256">
6256646334f2aa42c16f4e7541cd2c47c4182987733cd3112182b111ad2deb91
</checksum>
<open-checksum type="sha256">
787cf215674f6ec2a42ec5d653906db6c1766793eacf1d62a7dc47adf452fdfe
</open-checksum>
<location href="repodata/filelists.sqlite.bz2"/>
<timestamp>1453910828</timestamp>
<database_version>10</database_version>
<size>1348907</size>
<open-size>10261504</open-size>
</data>

SHA-256 digest of filelists.sqlite.bz2 downloaded over http from 
ftp.scientificlinux.org<ftp://ftp.scientificlinux.org> at roughly 6 pm CET 
today:
6256646334F2AA42C16F4E7541CD2C47C4182987733CD3112182B111AD2DEB91

The size element matches the size of the downloaded file.

Reply via email to