How to remove the older versions of a package which has multiple versions installed on Red Hat Enterprise Linux?
Issue
- How to remove the older versions of a package which has multiple versions installed on Red Hat Enterprise Linux?
- The upgraded version of a package is already installed. How to remove old duplicate package?
yum-complete-transactioncommand fails with the following error:
Found pre-existing rpmdb problem(s), 'yum check' output follows:
some package<new version> is a duplicate with some package<new version>
For Example
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
pixman-0.26.2-5.1.el6_5.i686 is a duplicate with pixman-0.26.2-5.el6_4.i686
xorg-x11-server-common-1.13.0-23.1.el6_5.i686 is a duplicate with xorg-x11-server-common-1.13.0-23.el6.i686
Environment
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
