yum 安装包时提示Error: Missing Dependency: php-common

在YUM源安装依赖包的时候,报错如下:

--> Processing Dependency: php-common = 5.1.6-45.el5_11 for package: php-xml

---> Package php-xmlrpc.i386 0:5.1.6-45.el5_11 set to be updated

--> Processing Dependency: php-common = 5.1.6-45.el5_11 for package: php-xmlrpc

--> Finished Dependency Resolution

php-pdo-5.1.6-45.el5_11.i386 from updates has depsolving problems

--> Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-pdo-5.1.6-45.el5_11.i386 (updates)

php-bcmath-5.1.6-45.el5_11.i386 from updates has depsolving problems

--> Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-bcmath-5.1.6-45.el5_11.i386 (updates)

php-xmlrpc-5.1.6-45.el5_11.i386 from updates has depsolving problems

--> Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-xmlrpc-5.1.6-45.el5_11.i386 (updates)

php-ldap-5.1.6-45.el5_11.i386 from updates has depsolving problems

--> Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-ldap-5.1.6-45.el5_11.i386 (updates)

php-mysql-5.1.6-45.el5_11.i386 from updates has depsolving problems

--> Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-mysql-5.1.6-45.el5_11.i386 (updates)

php-mbstring-5.1.6-45.el5_11.i386 from updates has depsolving problems

--> Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-mbstring-5.1.6-45.el5_11.i386 (updates)

php-devel-5.1.6-45.el5_11.i386 from updates has depsolving problems

--> Missing Dependency: php = 5.1.6-45.el5_11 is needed by package php-devel-5.1.6-45.el5_11.i386 (updates)

php-xml-5.1.6-45.el5_11.i386 from updates has depsolving problems

--> Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-xml-5.1.6-45.el5_11.i386 (updates)

Error: Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-mysql-5.1.6-45.el5_11.i386 (updates)

Error: Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-mbstring-5.1.6-45.el5_11.i386 (updates)

Error: Missing Dependency: php = 5.1.6-45.el5_11 is needed by package php-devel-5.1.6-45.el5_11.i386 (updates)

Error: Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-ldap-5.1.6-45.el5_11.i386 (updates)

Error: Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-xml-5.1.6-45.el5_11.i386 (updates)

Error: Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-bcmath-5.1.6-45.el5_11.i386 (updates)

Error: Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-pdo-5.1.6-45.el5_11.i386 (updates)

Error: Missing Dependency: php-common = 5.1.6-45.el5_11 is needed by package php-xmlrpc-5.1.6-45.el5_11.i386 (updates)

You could try using --skip-broken to work around the problem

You could try running: package-cleanup --problems

package-cleanup --dupes

rpm -Va --nofiles --nodigest

The program package-cleanup is found in the yum-utils package.

在网上查了好多方法,没有查到可以解决的,后来就去找php-common的安装包,看到需要的安装包与我的版本不一致,突然想到是不是我原来机器上的包太新了,所以就查机器上的安装包的版本:

[[email protected]_proxy zabbix-2.2.9]# rpm -qa |grep php-common

php-common-5.2.17-13.el5

[[email protected]_proxy zabbix-2.2.9]#

解决方法 :卸载系统自带的版本,即可解决,如果卸载的时候提示依赖关系,请加上--nodeps.

时间: 2024-10-05 10:57:58

yum 安装包时提示Error: Missing Dependency: php-common的相关文章

每日一shell(十)yum安装包for循环检查安装

有时候安装yum包,发现有的已经安装过了但是如果执行安装,yum需要检查源,输出一堆的信息,看起来很烦,于是就想到了先检查后安装,如果本地已经安装,不执行安装,如果没有安装就进行安装. 去重后需要安装的yum安装包如下: autoconf bison bison-devel bzip2 bzip2-devel ca-certificates cairo-devel c-ares c-ares-devel cmake crontabs curl curl-devel diffutils e2fsp

pip 安装包时指定pypi资源地址

今天安装mycli的时候,一直有个报错,报gcc错误,本来就是一键安装的事,折腾了老半天.什么yum install gcc gcc-c++ 一顿操作,完全无效,又配置epel,还是不给面子:只能试试[pip 安装包时指定pypi资源地址]使用阿里云的也没有安装成功cryptography pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com cryptography pip install my

【Cocos2d-x】编译Android工程时提示error: 'GL_LINE_SMOOTH' was not declared in this scope

在Cocos2d-x项目中用到了OpenGL,使用GL_LINE_SMOOTH开启线条抗锯齿.代码如下: ccDrawColor4B(50, 26, 12, 255); // 设置线宽 glLineWidth(2.0f); // 启用线段反锯齿 glEnable(GL_LINE_SMOOTH); // 画第一条线 ccDrawLine(startPoint1,endPoint); // 画第二条线 ccDrawLine(startPoint2,endPoint); // 关闭线段反锯齿 glDi

mysql数据库导入sql文件时提示“Error Code: 1153 - Got a packet bigger than 'max_allowed_packet' bytes”解决办法

向mysql数据库中导入sql文件时,如果文件过大(几百M),会提示"Error Code: 1153 - Got a packet bigger than 'max_allowed_packet' bytes" 1.查看目前数据库配置 show VARIABLES like '%max_allowed_packet%'; 显示如下结果 +--------------------+---------+ | Variable_name      | Value   | +--------

How to: Installshield做安装包时如何添加文件

原文:How to: Installshield做安装包时如何添加文件 我一直以为这不是一个问题,可是没想到在几个群内,对于如何向安装包添加文件不解的大有人在,今日稍暇,整理成篇,以供参考 首先我想再大声地说一遍:不要再跟我说英文看不懂了!!!!你做了程序员这一行,就得逼自己去看懂英文!!!说看不懂的赶快转行吧!甭在这行混了!去工地搬个砖也有四五千了!不比你在这里一边牢骚一边拿两千强啊!谷歌度娘都免费提供翻译功能!别再跟姐叨叨!姐不是翻译机!!! 以Installscript Project为例

编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

在Ubuntu14.04 64位系统中已经安装了libc6:i386的库,编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory. 出错原因是:缺少lib32z1库 解决方法:sudo apt-get install lib32z1

Apt下载安装包时Hash校验和不符

近期我的电脑在使用apt-get或aptitude下载Linux安装包时总是出现如下图所示的Hash校验和不符的问题.以至于下载过程被频繁中断,不得不反复运行apt-get或者在aptitude中按g键,才能够断点续传,完成全部的下载,非常讨厌.而若令电脑连接手机热点,则没有这样的问题.对此,初步判断是由网络服务提供商代理服务器的配置问题所导致的. 经过搜索与文档查阅,找到了解决方法:在目录/etc/apt/apt.conf.d下创建文件99FixHashCheckSumError,其中包含如下

使用yum时提示Error: rpmdb open failed

使用yum安装时提示如下报错: rpmdb: PANIC: fatal region error detected; run recovery error: db3 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 -  (-30974) error: cannot open Packages

对express中引入文件时提示Error: Cannot find module错误的理解

打算写个小demo,在引入一个routes文件时,一直提示Error: Cannot find module('./routes')的错误,经过一番了解. 如果要把整个文件夹下所有的模块都引进来  var routes = require('./routes')这时express会默认的去读取文件下的index.js文件,所以文件夹下所有的模块只需在index.js声明即可. 例如: 在routes文件下有user.js.count.js.index.js文件, 只需在index.js中 exp