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

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

成都创新互联主要从事做网站、成都网站设计、网页设计、企业做网站、公司建网站等业务。立足成都服务霍城,十载网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:18982081108

--> 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的安装包,看到需要的安装包与我的版本不一致,突然想到是不是我原来机器上的包太新了,所以就查机器上的安装包的版本:

[root@zabbix_proxy zabbix-2.2.9]# rpm -qa |grep php-common

php-common-5.2.17-13.el5

[root@zabbix_proxy zabbix-2.2.9]#

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


本文题目:yum安装包时提示Error:MissingDependency:php-common
转载源于:http://bzwzjz.com/article/jpppce.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 高端网站设计推广 重庆网站建设 手机网站制作设计 网站建设公司 H5网站制作 成都网站设计公司 营销型网站建设 重庆外贸网站建设 成都网站制作 成都网站制作 攀枝花网站设计 外贸营销网站建设 成都网站建设 手机网站制作 成都网站建设 网站建设费用 成都网站建设 网站设计 成都网站建设公司 手机网站设计 成都网站建设公司 网站设计