My Oracle Support Banner

Oracle Linux: Yum Update Fails With Error "package_newer_version.x86_64 is a duplicate with package_older_version.x86_64 (Doc ID 2821740.1)

Last updated on NOVEMBER 30, 2021

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.0 and later
Linux x86-64

Symptoms

The command "yum update" fails with duplicate package error:

For eg: 

Error: Package: glibc-common-2.17-292.0.1.el7.x86_64 (@pdit_ol7_latest/$releasever)
Requires: glibc = 2.17-292.0.1.el7
Removing: glibc-2.17-292.0.1.el7.i686 (@pdit_ol7_latest/$releasever)
glibc = 2.17-292.0.1.el7
Updated By: glibc-2.17-324.0.1.el7_9.i686 (ol7_latest)
glibc = 2.17-324.0.1.el7_9
You could try using --skip-broken to work around the problem
** Found 23 pre-existing rpmdb problem(s), 'yum check' output follows:
cpp-4.8.5-44.0.3.el7.x86_64 is a duplicate with cpp-4.8.5-39.0.3.el7.x86_64
7:device-mapper-1.02.170-6.0.5.el7_9.5.x86_64 is a duplicate with 7:device-mapper-1.02.158-2.0.1.el7_7.2.x86_64
7:device-mapper-event-1.02.170-6.0.5.el7_9.5.x86_64 is a duplicate with 7:device-mapper-event-1.02.158-2.0.1.el7_7.2.x86_64
7:device-mapper-event-libs-1.02.170-6.0.5.el7_9.5.x86_64 is a duplicate with 7:device-mapper-event-libs-1.02.158-2.0.1.el7_7.2.x86_64
7:device-mapper-libs-1.02.170-6.0.5.el7_9.5.x86_64 is a duplicate with 7:device-mapper-libs-1.02.158-2.0.1.el7_7.2.x86_64
device-mapper-multipath-libs-0.4.9-134.0.3.el7_9.x86_64 is a duplicate with device-mapper-multipath-libs-0.4.9-127.el7.x86_64

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.