Bug 951584

Summary: update fails with "md5 mismatch of result delta does not match installed data"
Product: [Fedora] Fedora Reporter: Zbigniew Jędrzejewski-Szmek <zbyszek>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: admiller, ffesti, firas.alkafri, packaging-team-maint, tim.lauridsen, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: yum-3.4.3-82.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-12 14:27:51 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 Zbigniew Jędrzejewski-Szmek 2013-04-12 14:11:09 UTC
Description of problem:
Tried 'yum update', which said:
Install              (  1 Dependent package)
Upgrade  35 Packages (+70 Dependent packages)
...
(54/105): python-libs-2.7.3-35.fc19_2.7.4-2.fc19.x86_64.drpm
delta does not match installed data
(79/105): apache-commons-logging-1.1.2-2.fc19.noarch.rpm
delta does not match installed data
...
delta does not match installed data
/var/cache/yum/x86_64/19/updates-testing/packages/mesa-libGL-9.1-3.fc19_9.1-6.fc19.x86_64.drpm: md5 mismatch of result
delta does not match installed data
/var/cache/yum/x86_64/19/updates-testing/packages/python3-libs-3.3.0-10.fc19_3.3.1-1.fc19.x86_64.drpm: md5 mismatch of result
Some delta RPMs failed to download or rebuild. Retrying..
python3-libs-3.3.1-1.fc19.x86_ FAILED                                          
http://download-i2.fedoraproject.org/pub/fedora/linux/updates/testing/19/x86_64/python3-libs-3.3.1-1.fc19.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
mesa-libGL-9.1-6.fc19.x86_64.r FAILED                                          
http://mirror.steadfast.net/fedora/updates/testing/19/x86_64/mesa-libGL-9.1-6.fc19.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
...
Error downloading packages:
  mesa-libGL-9.1-6.fc19.x86_64: [Errno 256] No more mirrors to try.
  python3-libs-3.3.1-1.fc19.x86_64: [Errno 256] No more mirrors to try.

I then did 'yum clean cache' and 'yum clean all' which didn't seem to help,
and then 'rpm -e python3-libs mesa-libGL.i686 mesa-libGL.x86_64 --nodeps'.
After that 'yum update' completed successfully.


Version-Release number of selected component (if applicable):
rpm-4.11.0.1-1.fc19.x86_64
yum-3.4.3-82.fc19.noarch

How reproducible:
I tried at least few times, seemed to proceed exactly the same every time until I removed the rpms by hand.

Expected results:
I would expect the upgrade to try downloading the whole rpm if rpm delta fails.

Comment 1 Zdeněk Pavlas 2013-04-12 14:27:51 UTC
That's because we din't clean up .rpm files with wrong checksum that applydeltarpm leaves in cache.. Should be fixed already.

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