While trying to run a yum update I received the below warning message:
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
To resolve this yum-complete-transaction is required to complete the unfinished transactions.
yum-complete-transaction is a program which finds incomplete or aborted yum transactions on a system and attempts to complete them. It looks at the transaction-all* and transaction-done* files which can normally be found in /var/lib/yum if a yum transaction aborted in the middle of execution.
If it finds more than one unfinished transaction it will attempt to complete the most recent one first. You can run it more than once to clean up all unfinished transactions.
Run the following to install yum-utils (which provides yum-complete-transaction), cleanup and finish the transactions.
yum install yum-utils
yum clean all
/usr/sbin/yum-complete-transaction --cleanup-only
Now yum commands can be run without the unfinished transactions warning.
yum update
Share this blog post on social media:
TweetAll advice, installation/configuration how to guides, troubleshooting and other information on this website are provided as-is with no warranty or guarantee. Whilst the information provided is correct to the best of my knowledge, I am not reponsible for any issues that may arise using this information, and you do so at your own risk. As always before performing anything; check, double check, test and always ensure you have a backup.