View Issue Details

IDProjectCategoryView StatusLast Update
0015952CentOS-7deltarpmpublic2019-03-27 22:39
Reporterjdashton 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0015952: DeltaRPM prevent update of polkit for CentOS 7.6 1810
DescriptionDeltaRPM errors abound when trying to update polkit from 0.112-18.el7 to 0.112-18.el7_6.1. They look like this:

http://mirror.linuxfix.com/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.

Disabling deltarpm allows the update to complete successfully.
Steps To Reproduce1. Start with a CentOS 7.6 system that needs polkit-0.112-18.el7_6.1
2. sudo yum update polkit
3. Observe futility
Additional Information$ sudo yum update polkit
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repos-lax.psychz.net
 * epel: mirror.twinlakes.net
 * extras: mirror.sfo12.us.leaseweb.net
 * ius: archive.linux.duke.edu
 * updates: mirror.sfo12.us.leaseweb.net
Resolving Dependencies
--> Running transaction check
---> Package polkit.x86_64 0:0.112-18.el7 will be updated
---> Package polkit.x86_64 0:0.112-18.el7_6.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================================================
 Package Arch Version Repository Size
==================================================================================================================================================================================
Updating:
 polkit x86_64 0.112-18.el7_6.1 updates 168 k

Transaction Summary
==================================================================================================================================================================================
Upgrade 1 Package

Total download size: 168 k
Is this ok [y/d/N]: y
Downloading packages:
Finishing delta rebuilds of 1 package(s) (168 k)
Some delta RPMs failed to download or rebuild. Retrying..
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.linuxfix.com/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not SatisfiableB --:--:-- ETA
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.scalabledns.com/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable--:--:-- ETA
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.sfo12.us.leaseweb.net/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable-- ETA
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.san.fastserv.com/pub/linux/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not SatisfiableA
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://repos.lax.quadranet.com/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable-:--:-- ETA
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.fileplanet.com/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable --:--:-- ETA
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://repos-lax.psychz.net/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable --:--:-- ETA
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://centos.sonn.com/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not SatisfiableB/s | 0 B --:--:-- ETA
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.keystealth.org/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable --:--:-- ETA
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirrors.ocf.berkeley.edu/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable:--:-- ETA
Trying other mirror.


Error downloading packages:
  polkit-0.112-18.el7_6.1.x86_64: [Errno 256] No more mirrors to try.

$
TagsNo tags attached.
abrt_hash
URL

Activities

TrevorH

TrevorH

2019-03-25 17:02

manager   ~0034082

We believe this is due to a bad deltarpm. Try updating using `yum --setopt=deltarpm=0 update`
JohnnyHughes

JohnnyHughes

2019-03-25 17:10

administrator   ~0034083

I re-created the the polkit* drpms , just did an update that worked.

These are now syncing to the mirrors. Try again tomorrow (they will be on mirror.centos.org in about 30 mins .. on external mirrors (like the one you quoted) whenever the external mirror syncs).

If you change your update repo to mirror.centos.org, you can test in 30 mins or so.
jdashton

jdashton

2019-03-25 18:51

reporter   ~0034084

Thank you for jumping on this. Before submitting the bug I demonstrated that setting deltarpm=0 resolves the issue.

My suggestion is that the deltarpm capability, which is largely a cost-saving and convenience capability, should have a fall-back mode that increases the likelihood of success. If a delta RPM is failing to download, then perhaps yum should try to retrieve the whole RPM instead of the delta for that package.
jdashton

jdashton

2019-03-27 22:31

reporter   ~0034120

I confirm that the rebuilt package gets us over this immediate problem. But the real purpose of this bug report is to suggest that the deltarpm functionality should fall-back to using a full RPM when the delta is broken.
TrevorH

TrevorH

2019-03-27 22:39

manager   ~0034121

CentOS is a rebuild of the sources used to create RHEL. We do not modify anything except to remove branding and logos. You will need to submit your request to Redhat via bugzilla.redhat.com and if/when RH accepts it and incorporates it into RHEL and release the patched version, then CentOS will pick it up and rebuild it.

Issue History

Date Modified Username Field Change
2019-03-25 16:36 jdashton New Issue
2019-03-25 17:02 TrevorH Note Added: 0034082
2019-03-25 17:10 JohnnyHughes Note Added: 0034083
2019-03-25 18:51 jdashton Note Added: 0034084
2019-03-27 22:31 jdashton Note Added: 0034120
2019-03-27 22:39 TrevorH Note Added: 0034121