LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-02-2007, 01:35 AM   #1
vsystems
LQ Newbie
 
Registered: May 2007
Posts: 2

Rep: Reputation: 0
PHP5 Upgrade Error: Missing Dependency: php = 4.3.x is needed by package php-pear


Hi,

I'm trying to upgrade to PHP5 on my new Plesk 8.1.1 server (running 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
 
Old 05-02-2007, 07:17 AM   #2
vsystems
LQ Newbie
 
Registered: May 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Resolved!

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/C...2.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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php-4.4.2 pear error. eye Linux - Software 1 07-21-2006 04:21 PM
Error: Missing Dependency: libwpd-1.so.7 is needed by package abiword tmick Fedora 9 10-11-2005 12:06 PM
pear install missing pearcmd.php? boardtc Mandriva 0 09-18-2005 02:34 PM
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 11:05 AM
'PEAR.php' (include_path=''.:/usr/local/lib/php'') SOLVED SOLVED adengua Linux - Software 0 04-02-2004 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration