Bug 506459 - Update to 0.9.7-7.fc10 broke repodata for clients (RHEL5 at least)
Update to 0.9.7-7.fc10 broke repodata for clients (RHEL5 at least)
Product: Fedora
Classification: Fedora
Component: createrepo (Show other bugs)
All Linux
low Severity high
: ---
: ---
Assigned To: Luke Macken
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-06-17 08:46 EDT by Matthias Saou
Modified: 2016-09-19 22:39 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-06-17 09:32:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthias Saou 2009-06-17 08:46:14 EDT
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 09:32:14 EDT
 Use "--checksum sha", or install hashlib on from EPEL on the el5 boxes.
Comment 2 Matthias Saou 2009-06-17 10:32:05 EDT
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 12:39:41 EDT
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.