There are unfinished transactions remaining. You might consider running yum-complete-transaction

Today while working on CentOS 7, I used yum command to install some packages. But I interrupted the yum command by pressing CTRL + C from keyboard. Which lead me to this error :

There are unfinished transactions remaining. You might consider running yum-complete-transaction, or “yum-complete-transaction –cleanup-only” and “yum history redo last”, first to finish them. If those don’t work you’ll have to try removing/installing packages by hand (maybe package-cleanup can help).
The program yum-complete-transaction is found in the yum-utils package

I was using Minimal Installed CentOS 7 on Server. Hence, the command yum-complete-transaction was not available by default.

The command yum-complete-transaction can be get by installing the yum-utils package.

To solve this error , follow the given below steps

yum install yum-utils

Then run the command

yum-complete-transaction --cleanup-only

I hope it will solve your problem also.

4 thoughts on “There are unfinished transactions remaining. You might consider running yum-complete-transaction”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.