Bug 1221062

Summary: dnf re-downloads all packages if downloading one file fails with "all mirror tried"
Product: [Fedora] Fedora Reporter: Scott Tsai <scottt.tw>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-13 20:17:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Scott Tsai 2015-05-13 09:05:25 UTC
Description of problem:

If downloading one file fails with an "All mirror were tried" message with DNF, you'd have to re-download all the other files when you try to run "dnf update" again. See the command log below.


Version-Release number of selected component (if applicable):

dnf-1.0.0-1.fc22.noarch
python-hawkey-0.5.5-1.fc22.x86_64
hawkey-0.5.5-1.fc22.x86_64
rpm-4.12.0.1-9.fc22.x86_64

How reproducible:

Always

Steps to Reproduce:
1. dnf update -y
2. Download of one file fails with "All mirrors were tried"
3. dnf update -y


Actual results:
1. Download of one file fails with "All mirrors were tried"
https://gist.github.com/scottt/84814a045cd142cdc450
2. Running "dnf udpate" again, re-downloads all files.

Expected results:
DNF saving successfully downloaded files to a local cache

Additional info:

Comment 1 Honza Silhan 2015-05-13 20:17:25 UTC

*** This bug has been marked as a duplicate of bug 1218415 ***