51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

yum安装时异常退出报错

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 |


赞(0)
未经允许不得转载:工具盒子 » yum安装时异常退出报错