yum upgrade problem

Issues related to applications and software problems
Rensenbrink
Posts: 5
Joined: 2017/12/04 22:36:38

yum upgrade problem

Post by Rensenbrink » 2019/03/21 16:18:56

This started happening a few days ago - up till then, I had no problems doing the same thing.

I am installing CentOS 7 x86_64 as a Virtual Box VM. The installation proceeds without any issues. Once it is completed, I do the following:

# yum upgrade

This prints out a lot of data, and ends up thus:

(868/871): yum-3.4.3-161.el7.centos.noarch.rpm | 1.2 MB 00:00
(869/871): zenity-3.28.1-1.el7.x86_64.rpm | 4.0 MB 00:00
(870/871): webkitgtk4-plugin-process-gtk2-2.20.5-1.el7.x86 | 9.6 MB 00:05
(871/871): webkitgtk4-2.20.5-1.el7.x86_64.rpm | 26 MB 00:09
Finishing delta rebuilds of 101 package(s) (142 M)
Some delta RPMs failed to download or rebuild. Retrying..| 142 MB 00:00 ETA
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.den1.denvercolo.net/CentO ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://repos.forethought.net/centos/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.den1.denvercolo.net/CentO ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.sjc02.svwh.net/centos/7.6 ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://repos.forethought.net/centos/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirrors.tummy.com/mirrors/CentOS ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.twinlakes.net/centos/7.6. ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.cs.pitt.edu/centos/7.6.18 ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://centos.host-engine.com/7.6.1810/ ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://centos.den.host-engine.com/7.6.1 ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.team-cymru.com/CentOS/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://repos.forethought.net/centos/7.6 ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.den1.denvercolo.net/CentO ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.sjc02.svwh.net/centos/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.dal10.us.leaseweb.net/cen ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.sjc02.svwh.net/centos/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirrors.tummy.com/mirrors/CentOS ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.dal10.us.leaseweb.net/cen ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.dal10.us.leaseweb.net/cen ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.cs.pitt.edu/centos/7.6.18 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.twinlakes.net/centos/7.6. ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://centos.host-engine.com/7.6.1810/ ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://centos.den.host-engine.com/7.6.1 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://centos.host-engine.com/7.6.1810/ ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.team-cymru.com/CentOS/7.6 ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirrors.tummy.com/mirrors/CentOS ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.team-cymru.com/CentOS/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.cs.pitt.edu/centos/7.6.18 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.twinlakes.net/centos/7.6. ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://centos.den.host-engine.com/7.6.1 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.


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

It is always exactly the same thing - it gets stuck in the polkit packages. This is what I know:

1. Every time I am using a fresh-installed VM.
2. The installation options don't seem to make much of a difference, within the range of what I am interested in: the end result is always the same, as described above.
3. This started happening one day ago. Before that, I never had any problems.
4. There are no network issues whatsoever that I know of - the system can connect to hosts in the Internet, and is accessible from hosts in the same network.
5. There is no network proxy - the Internet connection uses the same gateway that has always used.

Any ideas as to what may be going on here?

Rensenbrink
Posts: 5
Joined: 2017/12/04 22:36:38

Re: yum upgrade problem

Post by Rensenbrink » 2019/03/21 16:46:45

The same happens when trying to update polkit alone:

yum update polkit
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: repos.forethought.net
* extras: repos.forethought.net
* updates: repos.forethought.net
Resolving Dependencies
--> Running transaction check
---> Package polkit.x86_64 0:0.112-14.el7 will be updated
--> Processing Dependency: polkit = 0.112-14.el7 for package: polkit-devel-0.112-14.el7.x86_64
---> Package polkit.x86_64 0:0.112-18.el7_6.1 will be an update
--> Running transaction check
---> Package polkit-devel.x86_64 0:0.112-14.el7 will be updated
--> Processing Dependency: polkit-devel = 0.112-14.el7 for package: polkit-docs-0.112-14.el7.noarch
---> Package polkit-devel.x86_64 0:0.112-18.el7_6.1 will be an update
--> Running transaction check
---> Package polkit-docs.noarch 0:0.112-14.el7 will be updated
---> Package polkit-docs.noarch 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
Updating for dependencies:
polkit-devel x86_64 0.112-18.el7_6.1 updates 42 k
polkit-docs noarch 0.112-18.el7_6.1 updates 251 k

Transaction Summary
================================================================================
Upgrade 1 Package (+2 Dependent packages)

Total download size: 461 k
Is this ok [y/d/N]: y
Downloading packages:
Finishing delta rebuilds of 3 package(s) (461 k)
Some delta RPMs failed to download or rebuild. Retrying..| 461 kB --:-- ETA
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://repos.forethought.net/centos/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.den1.denvercolo.net/CentO ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://repos.forethought.net/centos/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.sjc02.svwh.net/centos/7.6 ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://repos.forethought.net/centos/7.6 ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.den1.denvercolo.net/CentO ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.sjc02.svwh.net/centos/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.den1.denvercolo.net/CentO ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.sjc02.svwh.net/centos/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.twinlakes.net/centos/7.6. ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.cs.pitt.edu/centos/7.6.18 ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.team-cymru.com/CentOS/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://centos.den.host-engine.com/7.6.1 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.dal10.us.leaseweb.net/cen ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirrors.tummy.com/mirrors/CentOS ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirrors.tummy.com/mirrors/CentOS ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://centos.host-engine.com/7.6.1810/ ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://centos.host-engine.com/7.6.1810/ ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.twinlakes.net/centos/7.6. ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.cs.pitt.edu/centos/7.6.18 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.team-cymru.com/CentOS/7.6 ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://centos.den.host-engine.com/7.6.1 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirror.dal10.us.leaseweb.net/cen ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://mirrors.tummy.com/mirrors/CentOS ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.dal10.us.leaseweb.net/cen ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-docs-0.112-18.el7_6.1.n FAILED
http://centos.den.host-engine.com/7.6.1 ... noarch.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.twinlakes.net/centos/7.6. ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://centos.host-engine.com/7.6.1810/ ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-0.112-18.el7_6.1.x86_64 FAILED
http://mirror.team-cymru.com/CentOS/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
polkit-devel-0.112-18.el7_6.1. FAILED
http://mirror.cs.pitt.edu/centos/7.6.18 ... x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.


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

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: yum upgrade problem

Post by lightman47 » 2019/03/21 17:21:54

Oh - it wasn't just me! I used rpm -e polkit --nodeps to remove it long enough to run yum update. Then I yum installed polkit again.

Rensenbrink
Posts: 5
Joined: 2017/12/04 22:36:38

Re: yum upgrade problem

Post by Rensenbrink » 2019/03/21 17:29:41

Thanks. In my case, I had to do

rpm -e polkit --nodeps
rpm -e polkit-devel --nodeps
rpm -e polkit-doc --nodeps

in order to get yum upgrade unstuck.

wongue.kim
Posts: 1
Joined: 2019/03/22 03:57:08

Re: yum upgrade problem

Post by wongue.kim » 2019/03/22 04:07:30

Yes, I have the same problem with "polkit".

# yum update polkit -y
Loaded plugins: fastestmirror, langpacks, priorities, versionlock
Loading mirror speeds from cached hostfile
70 packages excluded due to repository priority protections
Excluding 2 updates due to versionlock (use "yum versionlock status" to show them)
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
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
https://XXXXXXXXXX/centos/7/updates/x86 ... x86_64.rpm: [Errno 14] HTTPS Error 416 - Requested Range Not Satisfiable ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.


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



#yum install https://XXXXXXXXXX/centos/7/updates/x86 ... x86_64.rpm
Loaded plugins: fastestmirror, langpacks, priorities, versionlock
polkit-0.112-18.el7_6.1.x86_64.rpm | 168 kB 00:00:00
Examining /var/tmp/yum-root-HQ1869/polkit-0.112-18.el7_6.1.x86_64.rpm: polkit-0.112-18.el7_6.1.x86_64
Marking /var/tmp/yum-root-HQ1869/polkit-0.112-18.el7_6.1.x86_64.rpm as an update to polkit-0.112-18.el7.x86_64
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 /polkit-0.112-18.el7_6.1.x86_64 473 k

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

Total size: 473 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
python-requests-2.6.0-1.el7_1.noarch has missing requires of python-urllib3 >= ('0', '1.10.2', '1')
Updating : polkit-0.112-18.el7_6.1.x86_64 1/2
Cleanup : polkit-0.112-18.el7.x86_64 2/2
Verifying : polkit-0.112-18.el7_6.1.x86_64 1/2
Verifying : polkit-0.112-18.el7.x86_64 2/2

Updated:
polkit.x86_64 0:0.112-18.el7_6.1

Complete!

How come the size of polkit package can be different???

acampos
Posts: 1
Joined: 2019/03/22 04:39:03

Re: yum upgrade problem

Post by acampos » 2019/03/22 04:50:47

After trying the solutions provided by @Rensenbrink and @lightman47 - which had inspired me (thank you, guys!) - I had to uninstall the polkit-doc.noarch, and run yum update again to get the update problem solved. I hope this inspire other users. ;)

pranav.ji
Posts: 1
Joined: 2019/03/22 13:14:32

Re: yum upgrade problem

Post by pranav.ji » 2019/03/22 13:15:46

a simple "yum clean all" helped me

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum upgrade problem

Post by TrevorH » 2019/03/22 16:04:39

A common complaint in all the yum output there is about deltarpm failing.

Can someone who is experiencing the problem please try adding deltarpm=0 to /etc/yum.conf and see if the problem then goes away?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

richardgerber
Posts: 1
Joined: 2019/03/22 16:45:36

Re: yum upgrade problem

Post by richardgerber » 2019/03/22 16:50:43

Hello,
deltarpm=0 works for me.
Thank you very much

FattyMcChickenPants
Posts: 1
Joined: 2019/03/22 16:33:39

Re: yum upgrade problem

Post by FattyMcChickenPants » 2019/03/22 16:57:38

TrevorH wrote:
2019/03/22 16:04:39
A common complaint in all the yum output there is about deltarpm failing.

Can someone who is experiencing the problem please try adding deltarpm=0 to /etc/yum.conf and see if the problem then goes away?
Thanks TrevorH! This worked for me:

Code: Select all

echo deltarpm=0 >> /etc/yum.conf && yum -y update polkit && sed -i ':a;$!{N;ba};s/\ndeltarpm=0//g' /etc/yum.conf && yum -y update
That allowed me to get polkit updated and once that was done the rest of the updates downloaded and installed successfully.

Post Reply