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.
Have a working fix, but it's ugly.. posted to rpm-metadata list.
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
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).
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.