How to remove duplicate packages from a failed yum transaction

Solution Verified - Updated -

Issue

  • How to remove the older versions of a package which has multiple versions installed on Red Hat Enterprise Linux?
  • After a failed yum transaction, yum-complete-transaction fails to complete and the duplicates are still present.

Environment

  • Red Hat Enterprise Linux

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