Duplicate Package – update / upgrade – Centos

For me it looks like you rebooted your computer (or it crashed) while you where in the process of upgrading packages. So new packages where installed, but old packages where not removed.

First look if you have any uncomplete transactions with: yum-complete-transaction

If this doesn’t help then take a look at the package-cleanup tool which is part of the yum-utils package.

package-cleanup –dupes lists duplicate packages

package-cleanup –cleandupes removes duplicate packages

But be carefull with the command and create a backup before removing duplicates.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)