Bug 506459 - Update to 0.9.7-7.fc10 broke repodata for clients (RHEL5 at least)
Summary: Update to 0.9.7-7.fc10 broke repodata for clients (RHEL5 at least)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: 10
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-17 12:46 UTC by Matthias Saou
Modified: 2016-09-20 02:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-17 13:32:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.