Bug 506459

Summary: Update to 0.9.7-7.fc10 broke repodata for clients (RHEL5 at least)
Product: [Fedora] Fedora Reporter: Matthias Saou <matthias>
Component: createrepoAssignee: Luke Macken <lmacken>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 10CC: james.antill, lmacken, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-17 13:32:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Saou 2009-06-17 12:46:14 UTC
My main Fedora 10 workstation just got updated with createrepo-0.9.7-7.fc10.noarch. Now when I create repodata using :

createrepo -d --unique-md-filenames -x '*.src.rpm' -x '*-debuginfo-*.rpm' mydir

All of my RHEL servers (yum-3.2.19-18.el5) fail to read the repodata with the following error :

http://myrepo/repodata/2ce435c1dc068156ae73248ec8abb4d641cf0aadbd8799dbe7bdd6074abc1ecb-primary.sqlite.bz2: [Errno -3] Error performing checksum

I just downgraded to the original Fedora 10 createrepo-0.9.6-3.fc10.noarch and everything works normally again (I had to downgrade yum too, though). I'm unsure of what the latest version I had been running was, but it was also working fine. I haven't tried with any other clients, just RHEL5.

Comment 1 James Antill 2009-06-17 13:32:14 UTC
 Use "--checksum sha", or install hashlib on from EPEL on the el5 boxes.

Comment 2 Matthias Saou 2009-06-17 14:32:05 UTC
From "createrepo --help" :

  -s SUMTYPE, --checksum=SUMTYPE
                        Deprecated, ignore

So the workaround is to use a deprecated option? Seems weird. I really think the Fedora 10 package should at least be changed to default to the same repodata format the previous Fedora 10 packages had in order to not break existing setups.

Comment 3 seth vidal 2009-06-17 16:39:41 UTC
matthias,
the docs in createrepo have been fixed in a version of createrepo not yet pushed to f10.