I just installed Rawhide and found that yum increases the counter when there's a 404 error (eg. when mirrors are syncing). Here's a screenshot of what I mean: http://i.imgur.com/pEkkM.png There were two 404 errors and yum counted to 12/10. I have yum version 3.4.3-42.fc18 installed.
This is intentional, (12/10) means "12th attempt to fetch 10 files in total". Not just 404s but any mirror failures result in "extra" attempt. So does the case when a file is downloaded but checksum fails. In this case the whole file is downloaded again, so +1. But now I'm a bit less convinced this is the best way to implement this.
I see. In that case, would it be better to place that information in the transaction summary? Maybe under a heading "Failed to download:"?
Fixed in rawhide- failed download/checksum does not increment the finished_files counter.
*** Bug 860974 has been marked as a duplicate of this bug. ***
python-urlgrabber-3.9.1-21.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-urlgrabber-3.9.1-21.fc18
*** Bug 859202 has been marked as a duplicate of this bug. ***
*** Bug 861562 has been marked as a duplicate of this bug. ***