Bug 500364
| Summary: | createrepo --checksum switch doesn't work correctly. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gerd Hoffmann <kraxel> | ||||||
| Component: | createrepo | Assignee: | Luke Macken <lmacken> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | adam, bill, fedora, james.antill, lemenkov, lmacken, paul, pfrields, prgarcial | ||||||
| Target Milestone: | --- | Keywords: | Reopened | ||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | createrepo-0.9.9-4.fc15 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-08-02 02:07:06 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Gerd Hoffmann
2009-05-12 12:49:56 UTC
I believe createrepo and yum in f11-updates-testing/rawhide currently work fine with -s sha - please check it out and reopen if I'm incorrect. Which version you are talking about? Yum doesn't find anything newer than createrepo-0.9.7-6.fc11.noarch (rawhide/f11, updates-testing enabled). You need to also upgrade yum from updates-testing. createrepo should maybe have a versioned requires on yum? Installed all F11 updates-testing bits. Still doesn't work for me. [kraxel@xeni ~]$ rpm -qa "yum*" "*repo*" yum-utils-1.1.22-1.fc11.noarch yum-updatesd-0.9-2.fc11.noarch createrepo-0.9.7-6.fc11.noarch yum-presto-0.5.0-1.fc11.noarch yum-3.2.22-4.fc11.noarch yum-metadata-parser-1.1.2-12.fc11.x86_64 yum-3.2.23 is in updates-testing for F11 get it from here: http://kojipkgs.fedoraproject.org/packages/yum/3.2.23/3.fc11/noarch/yum-3.2.23-3.fc11.noarch.rpm and the latest createrepo is also in updates-testing for F11 but while you wait for the mirrors to catch up you can get it from here: http://kojipkgs.fedoraproject.org/packages/createrepo/0.9.7/7.fc11/noarch/createrepo-0.9.7-7.fc11.noarch.rpm yum is in the repo meanwhile, createrepo not yet. Fetched from koji, installed, tested, works now. Thanks. createrepo-0.9.7-7.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/createrepo-0.9.7-7.fc11 createrepo-0.9.7-7.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. I was hit by this again. I'm using createrepo-0.9.9-3.fc15.noarch and yum-3.2.29-4.fc15.noarch. createrepo -s sha creates perfectly valid repomd.xml with checksum type="sha", but surprizingly it still uses sha256 in primary.xml.gz. This prevents me from creating EL-5 repos using my F-15. Same issue here Downgrading to createrepo 0.9.8-5.fc14 is a temporary (but poor) workaround Created attachment 495915 [details]
Send checksum option to worker
It seems that the --checksum option is not transmitted to the worker(s).
This trivial patch seems to fix this.
Need more testing.
Created attachment 495917 [details]
Send checksum option to worker
Patch with correct path to apply to source tree.
This was patched in about 3 weeks ago. It hasn't made it into a release, yet. http://createrepo.baseurl.org/gitweb?p=createrepo.git;a=commitdiff;h=7c375657274617649a69c72931a433cf1a6bc505 It would be great if this could get pushed out to a release. The bug apparently does not cause issues for Fedora repositories that expect the newer checksums - at least I haven't seen any locally, but when Fedora 15 is hosting repositories for O/S and yum combinations that still need -s sha, it causes failures. Downgrading createrepo is a workaround, and patching source is another workaround, but a new release would be appreciated. *** Bug 718218 has been marked as a duplicate of this bug. *** createrepo-0.9.9-4.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/createrepo-0.9.9-4.fc15 Package createrepo-0.9.9-4.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing createrepo-0.9.9-4.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/createrepo-0.9.9-4.fc15 then log in and leave karma (feedback). createrepo-0.9.9-4.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |