yum运行出错问题的解决
解决“The program package-cleanup is found in the yum-utils package”使用yum出现The program package-cleanup is found in the yum-utils package或者The program yum-complete-transaction is found in the yum-utils package时候可以使用如下命令解决
yum install yum-utils
yum-complete-transaction --cleanup-only
# 清除可能存在的重复包
package-cleanup --dupes
# 清除可能存在的损坏包
package-cleanup --problems
或者
yum clean all
yum install yum-utils
yum-complete-transaction
yum update
出现这个问题出现在32位平台的centos5.6版本中。 yum 安装php遇到php53-common conflicts with php-common
yum 安装php的时候,用命令yum -y install php*遇到提示php53-common conflicts with php-common这个错误信息,这时候可以看到
Error: php53-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
这样的错误提示。
这样在重新安装的时候 用命令 yum -y install php* --skip-broken 就可以解决问题了
如果还不能解决就卸载这个文件
yum remove php53-common ======Warning: RPMDB altered outside of yum.的解决办法======
yum安装软件时会出现Warning: RPMDB altered outside of yum这样都错误提示,原来是安装rpmfusion源的时候直接使用了rpm命令安装导致的,会造成yun安装的时候在Running Transaction的时候卡住。
解决办法是删除yum的历史记录
rm -rf /var/lib/yum/history/*.sqlite
页:
[1]