I was in the middle of a yum update on physical box over teh weekend and power died.
Ssytem came pack up. But now when I run yum-complete-transaction
I get all kinds of errors (these are just the last 4, there are many) systemtap-runtime-4.0-10.el7_7.x86_64 has installed conflicts systemtap-devel < ('0', '4.0', '10.el7_7'): systemtap-devel-4.0-9.el7.x86_64 systemtap-runtime-4.0-10.el7_7.x86_64 has installed conflicts systemtap-client < ('0', '4.0', '10.el7_7'): systemtap-client-4.0-9.el7.x86_64 systemtap-runtime-4.0-10.el7_7.x86_64 is a duplicate with systemtap-runtime-4.0-9.el7.x86_64 util-linux-2.23.2-61.el7_7.1.x86_64 is a duplicate with util-linux-2.23.2-61.el7.x86_64
what to do ? Thanks, Jerry
Try "yum clean all", but I suspect you need to delete and rebuild the RPM database. I don't remember the commands for that offhand, but Google might help locate them.
Gregory
-----Original Message----- From: CentOS centos-bounces@centos.org On Behalf Of Jerry Geis Sent: Wednesday, January 8, 2020 4:40 PM To: CentOS mailing list centos@centos.org Subject: [CentOS] CentOS 7 yum update
I was in the middle of a yum update on physical box over teh weekend and power died.
Ssytem came pack up. But now when I run yum-complete-transaction
I get all kinds of errors (these are just the last 4, there are many) systemtap-runtime-4.0-10.el7_7.x86_64 has installed conflicts systemtap-devel < ('0', '4.0', '10.el7_7'): systemtap-devel-4.0-9.el7.x86_64 systemtap-runtime-4.0-10.el7_7.x86_64 has installed conflicts systemtap-client < ('0', '4.0', '10.el7_7'): systemtap-client-4.0-9.el7.x86_64 systemtap-runtime-4.0-10.el7_7.x86_64 is a duplicate with systemtap-runtime-4.0-9.el7.x86_64 util-linux-2.23.2-61.el7_7.1.x86_64 is a duplicate with util-linux-2.23.2-61.el7.x86_64
what to do ? Thanks, Jerry _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Gregory,
Since the yum update process was interrupted before the old packages were removed you now have duplicate packages on your system as your listing clearly shows.
You need to remove the extra packages using the command
package-cleanup --cleandupes
That should take care of the problem.
On Fedora or Centos 8 this would be "dnf remove --duplicates"