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
yum -y install yum-utils
|---|--------------------------| | 1 | yum -y install yum-utils |
运行yum-complete-transaction
yum-complete-transaction --cleanup-only
|---|-----------------------------------------| | 1 | yum-complete-transaction --cleanup-only |
清除可能存在的重复包
package-cleanup --dupes
|---|-------------------------| | 1 | package-cleanup --dupes |
清除可能存在的损坏包
package-cleanup --problems
|---|----------------------------| | 1 | package-cleanup --problems |