Red Hat Bugzilla – Bug 860974
Number of downloaded packages increases on failed attempts
Last modified: 2014-01-21 18:23:47 EST
Description of problem:
When time a package download fails, yum says "Trying other mirror." and re-tries the download elsewhere. When this happens the number of downloaded packages is incremented, causing misleading progress output.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use a repo with bad mirrors
2. Do a yum update
$ sudo yum update
(337/151): tzdata-java-2012f-1.fc18.noarch.rpm | 0 B 00:00:30
http://download-i2.fedoraproject.org/pub/fedora/linux/development/18/x86_64/os/Packages/t/tzdata-java-2012f-1.fc18.noarch.rpm: [Errno 12] Timeout on http://download-i2.fedoraproject.org/pub/fedora/linux/development/18/x86_64/os/Packages/t/tzdata-java-2012f-1.fc18.noarch.rpm: (28, '')
Trying other mirror.
(338/151): tzdata-java-2012f-1.fc18.noarch.rpm | 154 kB 00:00:00
Last package downloaded is marked as (151/151)
It's fixed in python-urlgrabber upstream. I'll do a F18 build today.
*** This bug has been marked as a duplicate of bug 854075 ***