yum安装时异常退出报错
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.
解决办法:
安装yum-complete-transaction
1 |
yum -y install yum-utils |
运行yum-complete-transaction
1 |
yum-complete-transaction --cleanup-only |
清除可能存在的重复包
1 |
package-cleanup --dupes |
清除可能存在的损坏包
1 |
package-cleanup --problems |
原文链接:yum安装时异常退出报错,转载请注明来源!
package-cleanup --cleandupes删除重复的包