yum has three flags which are capable of 'modernizing' a package.
- yum update – "may or may not" force the removal of obsolete packages.
- yum upgrade – does not force the removal of obsolete packages
- yum install – ?
I got the "may or may not" from this question:
In CentOS, what is the difference between yum update and yum upgrade?
What is the definitive behavior of "yum install" when I'm using it to bring software up to date?
yum reinstall
. – Thomas Dickey Nov 08 '17 at 23:30