Bug 1022515 - createrepo failure leaves .repodata temp dir behind
Summary: createrepo failure leaves .repodata temp dir behind
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-23 12:57 UTC by Zdeněk Pavlas
Modified: 2014-02-02 22:29 UTC (History)
3 users (show)

Fixed In Version: createrepo-0.10.1-0.fc20
Clone Of:
Environment:
Last Closed: 2013-12-21 02:28:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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