Jump to content

[SOLVED] PHP5 Upgrade Error Missing Dependency: php = 4.3.x is needed by package php-pear


Recommended Posts

 

Hi,

 

I'm trying to upgrade to PHP5 on my Plesk 8.1.1 server (on CentOS v4.4 x86_64)::

 

yum info php

Setting up repositories

update 100% |=========================| 951 B 00:00

base 100% |=========================| 1.1 kB 00:00

atomic 100% |=========================| 951 B 00:00

centosplus 100% |=========================| 951 B 00:00

addons 100% |=========================| 951 B 00:00

extras 100% |=========================| 1.1 kB 00:00

Reading repository metadata in from local files

Installed Packages

Name : php

Arch : x86_64

Version: 4.3.9

Release: 3.22.4

Size : 3.6 M

Repo : installed

Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)

 

Description:

PHP is an HTML-embedded scripting language. PHP attempts to make it

easy for developers to write dynamically generated webpages. PHP also

offers built-in database integration for several commercial and

non-commercial database management systems, so writing a

database-enabled webpage with PHP is fairly simple. The most common

use of PHP coding is probably as a replacement for CGI scripts. The

mod_php module enables the Apache Web server to understand and process

the embedded PHP language in Web pages.

 

 

Available Packages

Name : php

Arch : x86_64

Version: 5.1.6

Release: 3.el4s1.5

Size : 1.2 M

Repo : centosplus

Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)

Description:

PHP is an HTML-embedded scripting language. PHP attempts to make it

easy for developers to write dynamically generated webpages. PHP also

offers built-in database integration for several commercial and

non-commercial database management systems, so writing a

database-enabled webpage with PHP is fairly simple. The most common

use of PHP coding is probably as a replacement for CGI scripts.

 

The php package contains the module which adds support for the PHP

language to Apache HTTP Server.

 

 

 

YUM INSTALL PHP : returns the following:

 

Setting up Install Process

Setting up repositories

Reading repository metadata in from local files

Parsing package install arguments

Resolving Dependencies

--> Populating transaction set with selected packages. Please wait.

---> Package php.x86_64 0:5.1.6-3.el4s1.5 set to be updated

--> Running transaction check

--> Processing Dependency: php = 4.3.9-3.22.4 for package: php-domxml

--> Processing Dependency: /usr/bin/php for package: psa-mnemo

--> Processing Dependency: php = 4.3.9-3.22.4 for package: php-mysql

--> Processing Dependency: php-common = 5.1.6-3.el4s1.5 for package: php

--> Processing Dependency: php = 4.3.9-3.22.4 for package: php-pear

--> Processing Dependency: php-cli = 5.1.6-3.el4s1.5 for package: php

--> Processing Dependency: php = 4.3.9-3.22.4 for package: php-gd

--> Processing Dependency: php = 4.3.9-3.22.4 for package: php-mbstring

--> Processing Dependency: php = 4.3.9-3.22.4 for package: php-imap

--> Restarting Dependency Resolution with new changes.

--> Populating transaction set with selected packages. Please wait.

---> Package php-mbstring.x86_64 0:5.1.6-3.el4s1.5 set to be updated

---> Package php-mysql.x86_64 0:5.1.6-3.el4s1.5 set to be updated

---> Package php-cli.x86_64 0:5.1.6-3.el4s1.5 set to be updated

---> Package php-common.x86_64 0:5.1.6-3.el4s1.5 set to be updated

---> Package php-gd.x86_64 0:5.1.6-3.el4s1.5 set to be updated

---> Package php-imap.x86_64 0:5.1.6-3.el4s1.5 set to be updated

---> Package php-xml.x86_64 0:5.1.6-3.el4s1.5 set to be updated

--> Running transaction check

--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql

--> Processing Dependency: php-pdo for package: php-mysql

--> Processing Dependency: php = 4.3.9-3.22.4 for package: php-pear

--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql

--> Restarting Dependency Resolution with new changes.

--> Populating transaction set with selected packages. Please wait.

---> Package mysql.x86_64 0:5.0.27-1.el4.centos set to be updated

---> Package php-pdo.x86_64 0:5.1.6-3.el4s1.5 set to be updated

--> Running transaction check

--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: psa-qmail

--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: psa-qmail

--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: psa-courier-imap-add

--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: psa-fileserver

--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: psa

--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: psa-courier-imap-add

--> Processing Dependency: mysql = 4.1.20-2.RHEL4.1 for package: mysql-server

--> Processing Dependency: libmysqlclient_r.so.14(libmysqlclient_14)(64bit) for package: mysql-server

--> Processing Dependency: php = 4.3.9-3.22.4 for package: php-pear

--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: mysql-server

--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: mysql-server

--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: psa-ruby-mysql

--> Processing Dependency: libmysqlclient_r.so.14()(64bit) for package: mysql-server

--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: psa

--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: psa-ruby-mysql

--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: psa-fileserver

--> Restarting Dependency Resolution with new changes.

--> Populating transaction set with selected packages. Please wait.

---> Package mysqlclient14.x86_64 0:4.1.22-1.el4s1.1 set to be updated

---> Package mysql-server.x86_64 0:5.0.27-1.el4.centos set to be updated

--> Running transaction check

--> Processing Dependency: php = 4.3.9-3.22.4 for package: php-pear

--> Finished Dependency Resolution

 

Error: Missing Dependency: php = 4.3.9-3.22.4 is needed by package php-pear

 

 

... and here is where I'm currently stuck. My understanding was that PHP v4.3.9-3.22.4 was the version that got installed with the server (??), so I'm not quite sure what's going on here, or how to get around this problem

 

 

 

If I Removing php-pear (yum remove php-pear), I get prompted with the following:

 

[...]

psa-manual-custom-skin-guide noarch 8.1.1-cos4.build81070322.16 installed 213 k

psa-migration-manager x86_64 8.1.1-cos4.build81070404.14 installed 10 M

psa-mimp noarch 1.0-cos4.build81070322.16 installed 1.3 M

psa-miva i386 8.1.1-cos4.build81070322.16 installed 5.6 M

psa-mnemo noarch 2.1.1-cos4.build81070322.16 installed 3.1 M

psa-passwd noarch 3.0-cos4.build81070322.16 installed 2.4 M

psa-php4-configurator noarch 1.1.0-cos4.build81070322.16 installed 0.0

psa-rubyrails-configurator x86_64 1.1.6-cos4.build81070322.16 installed 0.0

psa-spamassassin x86_64 8.1.1-cos4.build81070322.16 installed 52 k

psa-tomcat-configurator noarch 8.1.1-cos4.build81070322.16 installed 0.0

psa-turba noarch 2.1.3-cos4.build81070322.16 installed 5.0 M

psa-vpn x86_64 2.0.1-cos4.build81070322.16 installed 2.1 M

psa-watchdog x86_64 2.0.2-cos4.build81070322.16 installed 2.6 M

squirrelmail noarch 1.4.8-4.el4.centos installed 14 M

typo noarch 3.8.0-80019 installed 47 M

xrms noarch 1.19-80018 installed 8.9 M

 

Transaction Summary

==================================================

===========================

Install 0 Package(s)

Update 0 Package(s)

Remove 74 Package(s)

Total download size:

 

... which totally anihilates my installation of plesk, HOWEVER does then allow me to complete the PHP5 upgrade (I've since restored the server since trying this).

 

 

 

If anyone would have any suggestions on how I might get past this php-pear issue (without uninstalling it), I'd be HUUUUGELY appreciative!

 

I've been tearing my hear out trying to get past this problem for a few days now.

 

Many Thanks,

Sia

 

Link to comment
Share on other sites

 

With some input from Poke (swsoft forums), I managed to resolve this as followins:

 

rpm -e --nodeps php-pear

yum update php mysql --enablerepo=centosplus

 

wget http://ftp.monash.edu.au/pub/linux/CentOS/4.4/updates/x86_64/RPMS/php-pear-4.3.9-3.22.4.x86_64.rpm

rpm -Uhv --nodeps php-pear-4.3.9-3.22.4.x86_64.rpm

 

rpm -q php-pear

php-pear-4.3.9-3.22.4

 

rpm -q php

php-5.1.6-3.el4s1.5

 

rpm -q mysql

mysql-5.0.27-1.el4.centos

 

service httpd restart

 

 

 

All the best to anyone who may find the above helpful!  :)

 

Sia

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.