Bug 860974 - Number of downloaded packages increases on failed attempts
Summary: Number of downloaded packages increases on failed attempts
Keywords:
Status: CLOSED DUPLICATE of bug 854075
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-27 08:52 UTC by Petr Viktorin (pviktori)
Modified: 2014-01-21 23:23 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-27 10:26:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Viktorin (pviktori) 2012-09-27 08:52:24 UTC
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):
3.4.3-44.fc18


Steps to Reproduce:
1. Use a repo with bad mirrors
2. Do a yum update
  
Actual results:
$ sudo yum update
[snip]
(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     


Expected results:
Last package downloaded is marked as (151/151)

Comment 1 Zdeněk Pavlas 2012-09-27 10:26:45 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.