Processing Dependency: php-common = 5.1.6-45.el5_11 for package: php-xml---> Package php-xmlrpc.i386 0:5.1.6-45..."/>
溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

yum 安裝包時(shí)提示Error: Missing Dependency: php-common

發(fā)布時(shí)間:2020-08-20 16:18:04 來(lái)源:網(wǎng)絡(luò) 閱讀:1312 作者:innovafish 欄目:web開發(fā)

在YUM源安裝依賴包的時(shí)候,報(bào)錯(cuò)如下:

--> 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.



在網(wǎng)上查了好多方法,沒有查到可以解決的,后來(lái)就去找php-common的安裝包,看到需要的安裝包與我的版本不一致,突然想到是不是我原來(lái)機(jī)器上的包太新了,所以就查機(jī)器上的安裝包的版本:

[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]#

解決方法 :卸載系統(tǒng)自帶的版本,即可解決,如果卸載的時(shí)候提示依賴關(guān)系,請(qǐng)加上--nodeps.

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI