There are unfinished transactions remaining. You might consider running yum-complete-transaction
今天在Centos上用yum install 软件的过程中，因为系统太慢，没有安装完成就按“ctrl+c”中断，然后再安装就老报错，搜索后找到了老外的解决方法：
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
I hope it will solve your problem also.