Wednesday, October 29, 2014

CentOS 6.5 Removing Duplicate Packages


CentOS 6.5 Removing duplicate packages


After running yum.cron, the yum update did not complete on my CentOS 6.5 server

CODE: SELECT ALL

** Found 200 pre-existing rpmdb problem(s), 'yum check' output follows:

and then lists 200 packages.


CODE: SELECT ALL

yum-complete-transaction --cleanup-only

reports no unfinished transactions and


CODE: SELECT ALL

package-cleanup --cleandupes


Completes.
Then run update.

CODE: SELECT ALL

yum update --exclude=kernel*


yum update