While updating CentOS/RHEL system using Yum, the following error appears:
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them
How do I fix this in CentOS/RHEL 5.x/6.x system?
You have some broken or aborted yum transactions in the system. It was possibly due to yum was forcefully interrupted in the middle of a transaction. To fix this, run the following:
The command can return the following:
bash: yum-complete-transaction: command not found
It means you do not have yum-utils package installed in your system. Run the following to install yum-utils
$ yum install yum-utils
This will install necessary for yum-complete-transaction.