Not able to remove duplicate packages with the same version

Solution Unverified - Updated -

Issue

  • Not able to remove duplicate packages with the same version using command package-cleanup --dupes or the manual procedure state in solution 3924551:
# package-cleanup --dupes
Loaded plugins: product-id, rhnplugin, subscription-manager
This system is not registered with RHN Classic or RHN Satellite.
You can use rhn_register to register.
RHN Satellite or RHN Classic support will be disabled.
sssd-client-1.13.3-60.el6_10.2.x86_64
sssd-client-1.13.3-60.el6_10.2.x86_64
sssd-client-1.13.3-60.el6_10.2.x86_64
sssd-client-1.13.3-60.el6_10.2.x86_64
sssd-client-1.13.3-60.el6_10.2.x86_64
sssd-client-1.13.3-60.el6_10.2.x86_64
...

# for i in `cat /tmp/duplicaterpms-1.txt`; do rpm -e $i --nodeps; done
error: "sssd-client-1.13.3-60.el6_10.2.x86_64" specifies multiple packages:
  sssd-client-1.13.3-60.el6_10.2.x86_64
  sssd-client-1.13.3-60.el6_10.2.x86_64
  sssd-client-1.13.3-60.el6_10.2.x86_64
  sssd-client-1.13.3-60.el6_10.2.x86_64
  sssd-client-1.13.3-60.el6_10.2.x86_64
  sssd-client-1.13.3-60.el6_10.2.x86_64
...
error: "sssd-client-1.13.3-60.el6_10.2.x86_64" specifies multiple packages:
  sssd-client-1.13.3-60.el6_10.2.x86_64

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In