Bug 1022001 - package count doesn't match with actual packages in repodata
Summary: package count doesn't match with actual packages in repodata
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: 578256 1022004 1022028 1022029
TreeView+ depends on / blocked
 
Reported: 2013-10-22 13:11 UTC by Daniel Mach
Modified: 2013-12-21 02:28 UTC (History)
3 users (show)

Fixed In Version: createrepo-0.10.1-0.fc20
Clone Of:
: 1022004 1022028 1022029 (view as bug list)
Environment:
Last Closed: 2013-12-21 02:28:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Mach 2013-10-22 13:11:12 UTC
Package version:
createrepo-0.10-1.fc21.noarch

How to reproduce:
1) create a file list with existing packages
2) append a line with package that does not exist
3) run $ createrepo -i <package-list> .


zegrep '<package |packages=' repodata/*primary*xml*
<metadata xmlns="http://linux.duke.edu/metadata/common" xmlns:rpm="http://linux.duke.edu/metadata/rpm" packages="3">
<package type="rpm">
<package type="rpm">

Header says 3 packages while there are just 2 of them in metadata.

Comment 1 Zdeněk Pavlas 2013-10-22 15:33:08 UTC
Have a working fix, but it's ugly.. posted to rpm-metadata list.

Comment 2 Fedora Update System 2013-12-19 11:31:50 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 3 Fedora Update System 2013-12-20 01:53:26 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 4 Fedora Update System 2013-12-21 02:28:19 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.