回忆之城
生命在于折腾
posts - 575,comments - 9,trackbacks - 0
在使用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 又删不掉

原文链接:http://www.2cto.com/os/201212/177329.html
posted on 2014-04-27 15:31 回忆之城 阅读(103) 评论(0)  编辑 收藏 引用 所属分类: unix/linux
只有注册用户登录后才能发表评论。