使用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
问题解决!
------
出现场景:
旧版本没卸干净又装了新版本,包的依赖性乱了,出现损坏的包
rpm -e packagename 又删不掉
原文链接:
阅读(1398) | 评论(0) | 转发(0) |