Page 1 of 1

Small problem after PHP 5 yum upgrade

Posted: Tue Aug 01, 2006 9:39 am
by Mistraal
Hi,

I'm not very linux savvy so please be kind :P

I successfully upgraded (for the second time) following your very easy instructions here.

During the update it suggested that I uninstall Horde (because of something to do with the domxml uninstall). Thinking that this was merely part of the process I said yes and went ahead.

Although not absolutely necessary I would like to get Horde back on my shiny new updated system.

I tried through the Plesk Updater to re-install Horde yet no joy.

The log gave me

Code: Select all

Preparing for packages installation...
----- begin of output -----
Installing php-domxml-4.3.10-2.4.i386.rpm
error: Failed dependencies:
	php = 4.3.10-2.4 is needed by php-domxml-4.3.10-2.4

----- end of output -----
===> Autoinstaller: stopped logging at Tue Aug  1 15:08:12 2006
Is there a Horde that does not require this domxml and therefore not requiring PHP 4? Or is there some known workaround that could help me with my problem?

Looking forward to any and all responses.

Adam

Posted: Tue Aug 01, 2006 11:40 am
by Mistraal
Another small question ...

How would I go about enabling sqlite on this new PHP 5 install? On my phpinfo() it says PHP was compiled "--without-sqlite". Was there a problem with sqlite on this release?

Posted: Tue Aug 01, 2006 1:08 pm
by scott
php-domxml was replaced by php-xml. The PSA autoinstaller cant really resolve a dependency like that since its using a static archive, rather than something like yum. If you install php-xml through yum, you should be fine.

I didn't exclude sqlite intentionally, it just wasn't in the original FC4 PHP design which is what I based mine on. I'll add it to the list though.

Posted: Tue Aug 01, 2006 4:46 pm
by Mistraal
OK I've installed php-xml as you suggested using yum, but I continue to get the same message as before because Horde is dependant on domxml.

Updating Plesk base packages produces same error, so updating to 8.01 is out of the question.

Posted: Tue Aug 01, 2006 7:57 pm
by Mistraal
At the bottom of the PHP project pagethere is a message from a guy called Niel. My situation is exactly the same as his is, only I said yes at the prompt to uninstall horde etc.

I think if there was a way of fooling the Plesk Updater that it didn't require the domxml then I may be able to continue.

Posted: Wed Aug 02, 2006 11:59 am
by scott
Its not that smart, they're looking at the filename, rather than the RPM dependency table. Internally, it will declare itself as php-domxl (called a Provides tag). Did you install the php-xml package?

Posted: Wed Aug 02, 2006 3:36 pm
by Mistraal
scott wrote:Its not that smart, they're looking at the filename, rather than the RPM dependency table. Internally, it will declare itself as php-domxl (called a Provides tag). Did you install the php-xml package?
Yessir I did.

Could I install horde and the other 6 or so missing/uninstalled packages manually instead of going through the Plesk Updater? If so how would I go about doing that and ensuring that webmail.* points to the horde install?

Posted: Wed Aug 02, 2006 5:21 pm
by scott
Yeah try installing it through yum instead

Posted: Thu Aug 03, 2006 7:24 am
by Mistraal
That worked beautifully.

For those interested I did the following ...

Code: Select all

yum install php-xml //as suggested above
yum install psa-horde
yum install psa-ingo //incl. dependant psa-imp
yum install psa-kronolith
yum install psa-mnemo
yum install psa-passwd
yum install psa-turba
I could have probably put that on one command line, but I was testing :P

Thanks for your help.

Now all I would like to know is how to reconfigure my current php install to include SQlite.