yum xxx
...
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
我不想完成交易,我该如何取消它?
跑步yum clean all
并没有这个作用。运行yum-complete-transaction
并根据提示回答“N”也不是,它只是说“不删除旧的事务文件”
答案1
答案2
在 CentOS 7 上,您应该首先运行:
yum install yum-utils
然后运行:
sudo yum-complete-transaction --cleanup-only