egroupware install fails

In trying to install egroupware /eGroupware- the download completes then:

… download complete.

Installing PHP Pear module Auth_SASL …

… failed to install!

This is a Centos 5.7 box so I tried:

# yum install php-pear-Auth-SASL
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * extras:
 * updates:
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pear-Auth-SASL.noarch 0:1.0.2-4.el5.centos set to be updated
--> Processing Dependency: php-pear(PEAR) >= 1.4.9 for package: php-pear-Auth-SASL
--> Processing Dependency: php >= 4.0.0 for package: php-pear-Auth-SASL
--> Processing Dependency: /usr/bin/pear for package: php-pear-Auth-SASL
--> Running transaction check
---> Package php.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php
--> Processing Dependency: php-cli = 5.1.6-27.el5_5.3 for package: php
---> Package php-pear.noarch 1:1.4.9-6.el5 set to be updated
--> Running transaction check
---> Package php-cli.x86_64 0:5.1.6-27.el5_5.3 set to be updated
---> Package php-common.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Conflict: php53-common conflicts php-common
--> Finished Dependency Resolution
php53-common-5.3.3-1.el5_7.3.x86_64 from installed has depsolving problems
  --> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
 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

so no joy there. I’ve seen earlier posts on the subject but they don’t shed much light for me.




It appears that you’re running into a conflict of some sort with the newer PHP 5.3 package in CentOS 5.

What is the output of these two commands:

php -v rpm -qa | grep php-common
[root@bulkley ~]# php -v
PHP 5.3.3 (cli) (built: Nov  2 2011 23:35:50) 
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
[root@bulkley ~]# rpm -qa | grep php-common
[root@bulkley ~]# 

Okay, I think I see what’s happening… it looks like eGroupware requires the ‘php-pear-Auth-SASL’ package – and php-pear-Auth-SASL requires php-common.

However, it also looks like you’re using PHP 5.3.3 – which won’t work with php-common.

So there’s an interesting set of dependency issues there that are preventing that from installing. Unfortunately, there are some things that won’t work with the php53 packages on CentOS, and it appears that may be one of them :-/