yum upgrade problem

Issues related to applications and software problems
lightman47
Posts: 1120
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: yum upgrade problem

Post by lightman47 » 2019/03/22 17:39:54

Can someone who is experiencing the problem please try adding deltarpm=0 to /etc/yum.conf and see if the problem then goes away?
On another machine that experienced the issue, it does go away after that addition to yum.conf! The update progresses smoothly/completely.

---
Interestingly, the problem is 'machine selective'; it's only shown up on two of the four machines I've updated recently. I wonder what the commonality may be; one is my HP DL380 room heater whose kernel I cannot update, and the other is a much newer box with an Nvidia card that was my grandson's game machine.
Remember - importing/building packages will likely "byte you in the butt" come update time, long after you'd forgotten you did that! Use repos whenever possible.

User avatar
TrevorH
Forum Moderator
Posts: 28594
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum upgrade problem

Post by TrevorH » 2019/03/22 18:56:02

So it looks like a bad deltarpm. It's being rebuilt at the moment and re-signed and repushed to the mirrors.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

edgreenberg
Posts: 3
Joined: 2017/05/17 18:25:50

Re: yum upgrade problem

Post by edgreenberg » 2019/03/25 11:31:03

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
The above (copied from previous reply by @FattyMcChickenPants) worked for me on Centos 7.6.1810

User avatar
TrevorH
Forum Moderator
Posts: 28594
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum upgrade problem

Post by TrevorH » 2019/03/25 12:27:21

You can disable it as a one-time on each yum command using yum --setopt=deltarpm=0 ...
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

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

Re: yum upgrade problem

Post by Rensenbrink » 2019/03/25 16:13:35

For what it's worth, the deltarpm=0 trick also did it for me.

edwardsmarkf
Posts: 35
Joined: 2012/07/06 23:57:24

Errno 256 No more mirrors to try error

Post by edwardsmarkf » 2019/03/25 16:32:05

hello all -

i use C7 on VirtualBox to test with. i usually try to start with a fresh installation, which i have done many times now and has always worked. the steps are always the same, create new VM, connect the ISO file, blah blah blah, and finally once installed run "yum -y update".

for some reason the last couple of days i keep getting this error:

Error 416 - Requested Range not Satisfiable
Error 256 No more mirrors to try

Ironically, i have another VM installed using the identical ISO file with the identical method from last week, and that VM runs "yum -y update" fine.

the only thing i can guess is there is something going on with initial installs now.

is anybody else running into this issue?

User avatar
TrevorH
Forum Moderator
Posts: 28594
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum upgrade problem

Post by TrevorH » 2019/03/25 16:54:44

Yes, and now your thread is merged with the main one discussing this problem.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Software Support”