Bug 854075 - Download counter increments when there's a 404 error
Summary: Download counter increments when there's a 404 error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 860974 861562 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-03 23:26 UTC by Andrew Gunnerson
Modified: 2014-01-21 23:23 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-05 08:00:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrew Gunnerson 2012-09-03 23:26:10 UTC
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.

Comment 1 Zdeněk Pavlas 2012-09-04 08:46:39 UTC
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.

Comment 2 Andrew Gunnerson 2012-09-04 17:45:06 UTC
I see. In that case, would it be better to place that information in the transaction summary? Maybe under a heading "Failed to download:"?

Comment 3 Zdeněk Pavlas 2012-09-05 08:00:04 UTC
Fixed in rawhide- failed download/checksum does not increment the finished_files counter.

Comment 4 Zdeněk Pavlas 2012-09-27 10:26:45 UTC
*** Bug 860974 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2012-09-27 10:56:47 UTC
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

Comment 6 Zdeněk Pavlas 2012-10-01 09:31:02 UTC
*** Bug 859202 has been marked as a duplicate of this bug. ***

Comment 7 Zdeněk Pavlas 2012-10-01 09:32:22 UTC
*** Bug 861562 has been marked as a duplicate of this bug. ***


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