"There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. The program yum-complete-transaction is found in the yum-utils package."Apparently, there were aborted or incomplete yum transactions on the system.
First thing First Make sure you have yum-utils package
# yum install yum-utilsNext,run the yum-complete-transaction. You may want to run the yum-transaction --cleanup which is a safe option
# yum-complete-transaction --cleanup-only