Bug 1177833

Summary: Failed delta RPM rebuilds can cause dnf to run out of mirrors and refuse to update
Product: [Fedora] Fedora Reporter: Faith Ekstrand <faith>
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: rawhideCC: akozumpl, jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen
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-01-13 21:59:47 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 Faith Ekstrand 2014-12-30 18:53:15 UTC
Description of problem:
The problem arises when, for whatever reason, an RPM cannot be successfully rebuilt from a delta even though the drpm is correct.  In this case, dnf throws the "download successful but checksums don't match" error, redownloads the drpm, and fails again.  If the problem rebuilding the RPM is on the local machine and not a problem with the drpm, it loops until it has run out of mirrors and then refuses to update.

This is a terrible error in this case because the download was successful but, for whatever reason, the delta RPM rebuild wasn't.  Also, it would be really nice if dnf would, instead of repeatedly trying to rebuild from the drpm, eventually give up and just download the full RPM.  As it stands, hitting this issue leaves your system effectively unupgradable until you turn off deltas entirely.

This may be related to bug #1130685

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

Comment 1 Honza Silhan 2015-01-13 21:59:47 UTC

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