Translated message

A translation of this page exists in English.

php パッケージをアップデートすると依存関係のエラーが発生する

Solution Verified - Updated -

Issue

  • yum update を実行すると、php パッケージスイートに関するエラーメッセージが発生します。このエラーは、依存関係に問題があることを示しています。
# yum update
Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-23.el6_4 will be updated
---> Package php.x86_64 0:5.3.3-27.el6_5 will be an update
---> Package php-cli.x86_64 0:5.3.3-23.el6_4 will be updated
---> Package php-cli.x86_64 0:5.3.3-27.el6_5 will be an update
---> Package php-common.x86_64 0:5.3.3-23.el6_4 will be updated
--> Processing Dependency: php-common(x86-64) = 5.3.3-23.el6_4 for package:
php-mbstring-5.3.3-23.el6_4.x86_64
---> Package php-common.x86_64 0:5.3.3-27.el6_5 will be an update
---> Package php-gd.x86_64 0:5.3.3-23.el6_4 will be updated
---> Package php-gd.x86_64 0:5.3.3-27.el6_5 will be an update
---> Package php-mysql.x86_64 0:5.3.3-23.el6_4 will be updated
---> Package php-mysql.x86_64 0:5.3.3-27.el6_5 will be an update
---> Package php-pdo.x86_64 0:5.3.3-23.el6_4 will be updated
---> Package php-pdo.x86_64 0:5.3.3-27.el6_5 will be an update
---> Package php-soap.x86_64 0:5.3.3-23.el6_4 will be updated
---> Package php-soap.x86_64 0:5.3.3-27.el6_5 will be an update
--> Finished Dependency Resolution
Error:Package: php-mbstring-5.3.3-23.el6_4.x86_64
(@rhel-x86_64-server-optional-6)
           Requires: php-common(x86-64) = 5.3.3-23.el6_4
           Removing: php-common-5.3.3-23.el6_4.x86_64
(@rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-23.el6_4
           Updated By: php-common-5.3.3-27.el6_5.x86_64
(rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-27.el6_5
           Available: php-common-5.3.2-6.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.2-6.el6
           Available: php-common-5.3.2-6.el6_0.1.x86_64
(rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.2-6.el6_0.1
           Available: php-common-5.3.3-3.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6
           Available: php-common-5.3.3-3.el6_1.3.x86_64
(rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_1.3
           Available: php-common-5.3.3-3.el6_2.5.x86_64
(rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_2.5
           Available: php-common-5.3.3-3.el6_2.6.x86_64
(rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_2.6
           Available: php-common-5.3.3-3.el6_2.8.x86_64
(rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_2.8
           Available: php-common-5.3.3-14.el6_3.x86_64
(rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-14.el6_3
           Available: php-common-5.3.3-22.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-22.el6
           Available: php-common-5.3.3-26.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-26.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Environment

  • Red Hat Enterprise Linux 6.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content