关于使用yum “The program package-cleanup is...” 的解决办法!

在使用yum 时总是有提示信息:
The program package-cleanup is found in the yum-utils package.

或者提示:
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.


处理步骤:
# 安装 yum-complete-transaction
yum install yum-utils
# 运行 yum-complete-transaction
yum-complete-transaction --cleanup-only
# 清除可能存在的重复包
package-cleanup --dupes
# 清除可能存在的损坏包
package-cleanup --problems

问题解决!

你可能感兴趣的:(package)