当前位置: > Linux故障 >

centos关于”running yum-complete-transaction first...

时间:2014-11-05 10:33来源:linux.it.net.cn 作者:IT

今天在用yum安装软件出错几次户,总是有提示信息: 

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事务,建议先运行yum-complete-transaction命令结束它们。 

处理步骤: 

# 安装 yum-complete-transaction 

yum install yum-utils 

# 运行 yum-complete-transaction 

yum-complete-transaction –cleanup-only 

# 清除可能存在的重复包 

package-cleanup --dupes 

# 清除可能存在的损坏包 

package-cleanup --problems

(责任编辑:IT)
------分隔线----------------------------