[CentOS] yum upgrade php dependency failure

Wed Feb 6 05:52:12 UTC 2008
ankush grover <ankushcentos at gmail.com>

On Feb 6, 2008 10:30 AM, Ed Morrison <edward.morrison at gmail.com> wrote:
> Hi,
>
> I am trying to upgrade php to version 5.   When running yum upgrade I
> get this failure:
>
> --> Running transaction check
> --> Processing Dependency: php = 4.3.9-3.22.9 for package: php-pear
> --> Finished Dependency Resolution
> Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear
>
> but the required php version is installed:
>
> [root at ftp ~]# rpm -q php
> php-4.3.9-3.22.9
>
>
> Any suggestions on what is wrong and how to fix this?
>
> Thanks!
>
> Ed
>

Hi,

The error says the php 4.3.9-3.22.9 is needed by the package php-pear.

yum remove php-pear and then try to upgrade php.


Regards

Ankush