Bug 1022515

Summary: createrepo failure leaves .repodata temp dir behind
Product: [Fedora] Fedora Reporter: Zdeněk Pavlas <zpavlas>
Component: createrepoAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jzeleny, lmacken, packaging-team-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: createrepo-0.10.1-0.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-21 02:28:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zdeněk Pavlas 2013-10-23 12:57:25 UTC
Description of problem:

When there's a fatal error during a createrepo run, .repodata directory is left behind.

Version-Release number of selected component (if applicable):

createrepo-0.10-2.fc21

How reproducible:

always

Steps to Reproduce:

1. mkdir repo; touch repo/pkg.rpm; echo pkg.rpm >pkglist
2. createrepo -i pkglist

Actual results:

createrepo fails with "RPM Error opening Package", but leaves .repodata dir.

Expected results:

no .repodata dir.

Additional info:

Comment 1 Fedora Update System 2013-12-19 11:31:46 UTC
createrepo-0.10.1-0.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/createrepo-0.10.1-0.fc20

Comment 2 Fedora Update System 2013-12-20 01:53:21 UTC
Package createrepo-0.10.1-0.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing createrepo-0.10.1-0.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23644/createrepo-0.10.1-0.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-12-21 02:28:10 UTC
createrepo-0.10.1-0.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.