Created attachment 363703 [details] patch to fix the issue There is a '-C' or '--checkts' option for createrepo, to compare the ctime of the repodata/ and the most late ctime of rpms. With version of 0.9.x it is not working (ie. false operations etc.) There are two reasons for this issue: 1) already fixed in 0.9.8 -- createrepo must check the _data_ files in repodata/ dir, not the dir itself. Now, it check all the dirs, including repodata/ and a temporary .repodata/, and since the .repodata/ is "just created", it ctime is always newer than any rpm file... 2) Now createrepo (by a typo?) compares just _one of rpm files_, whereas shoud compare _all the rpm files_ against the metadata ctime.
You seem to be combining two issues. https://bugzilla.redhat.com/show_bug.cgi?id=512610 is the first one and it is fixed already. The second issue does look like we're only ever looking at the first file in the rpm list. I'll take a look at that. thanks
applied the second part of your patch to createrepo.
Could we get a createrepo package update that contains this fix?
oh y'all just want the world! :) yah - I'll make a note.
sorry this took so long - kept slipping off my todo list. koji build is here: http://koji.fedoraproject.org/koji/taskinfo?taskID=1884661 please test it and let me know if it is all okay before I send it to bodhi. thanks
Yep, that one appears to work for me on F-11. I think the F-12+ versions need a similar fix as well, there doesn't seem to be a new build for them in koji yet.
createrepo-0.9.7-8.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/createrepo-0.9.7-8.fc11
createrepo-0.9.8-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/createrepo-0.9.8-3.fc12