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
To solve this error , follow the given below steps
yum install yum-utils
Then run the command
I hope it will solve your problem also.