Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: magwm on January 07, 2008, 05:06:40 PM

Title: smeserver-support dependencies
Post by: magwm on January 07, 2008, 05:06:40 PM
Hello, I am running a website on an updated smeserver box on which I somehow put php5 and mysql 5. now I find that updating goes mostly OK, if I exclude smeserver-support. I read it is a module to show version info etc so I thought it not to be so essential. however, is that so? I have necessity to put it under somewhat heavier load.  I attach the update logs. it seems to me a conflict between the 'normally' installed php5 and the php4 needed by dom-xml needed by horde. but I was updating smeserver-support..

I would be much grateful for any hints, and thanks all you for the fantastic work!

Michel


------
 

[root@www ~]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-support.noarch 0:1.6.0-40.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-ldap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-imap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-gd
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-cli
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php
--> Processing Dependency: php-domxml for package: e-smith-horde
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mbstring
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-pdo
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-domxml.i386 0:4.3.9-3.22.9 set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-ldap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-imap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-gd
--> Processing Dependency: php = 4.3.9-3.22.9 for package: php-domxml
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-cli
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-mbstring
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-pdo
--> Finished Dependency Resolution
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-ldap
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-imap
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-mysql
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-gd
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-cli
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-mbstring
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-pdo
Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-domxml
================================================================
No new rpms were installed. No additional commands are required.
================================================================
Title: Re: smeserver-support dependencies
Post by: slords on January 07, 2008, 06:08:46 PM
Moving to contribs.  php5 and mysql5 aren't provided/supported.
Title: Re: smeserver-support dependencies
Post by: cactus on January 07, 2008, 10:41:02 PM
Hello, I am running a website on an updated smeserver box on which I somehow put php5 and mysql 5. now I find that updating goes mostly OK, if I exclude smeserver-support.
In my opinion it is not OK, AFAIK this package is also used to obsolete some packages so I think you should install it as it is part of the base... If they conflict with other packages that are not part of the base you should be better of finding out why they conflict and try to resolve that by modifying them and not by leaving out packages that are released as a base package.

You should probably upgrade by leaving out the php5 packages as they conflict with the base packages. I do not have the command ready but normally it would be something like this on the CLI as root
Code: [Select]
yum upgrade --exclude=package-to-exclude
Title: Re: smeserver-support dependencies
Post by: Snoopyski on January 08, 2008, 05:30:49 PM
Hello friends,

The only way is to downgrade temporary on PHP4 and MySQL 4 like is mentioned in the PHP5/MySQL5:

1) Downgrade to PHP4.x/MySQL4.x
2) run a yum update to install the module smeserver-support....
3) run a yum update again to be sure everything was done
3) Reinstall the PHP5/MySQL5 from the HowTo...
4) You're back up2date !!!

Don't miss to do a backup before (precaution)  :wink:

Stéphane
Title: Re: smeserver-support dependencies
Post by: jncs on November 23, 2008, 04:27:55 AM
Hello friends,

The only way is to downgrade temporary on PHP4 and MySQL 4 like is mentioned in the PHP5/MySQL5:

1) Downgrade to PHP4.x/MySQL4.x
2) run a yum update to install the module smeserver-support....
3) run a yum update again to be sure everything was done
3) Reinstall the PHP5/MySQL5 from the HowTo...
4) You're back up2date !!!

Don't miss to do a backup before (precaution)  :wink:

Stéphane

How can I downgrade from PHP5/MYSQL5 to PHP4/MYSQL4?
What shoul I backup?

Thanks!
Title: Re: smeserver-support dependencies
Post by: warren on November 23, 2008, 05:46:48 PM
see this post from Mary :

http://forums.contribs.org/index.php/topic,42683.0.html (http://forums.contribs.org/index.php/topic,42683.0.html)
Title: Re: smeserver-support dependencies
Post by: Stefano on November 23, 2008, 06:50:49 PM
Hi all

I have only one server with php5 and mysql5 and, naturally, I have the same problem each time I have to update SME.

I've solved (in the past) excluding smeserver-support and then installing it manually with rpm (with force directive).

So far so good, nothing to complain.

HTH
Ciao

Stefano
Title: Re: smeserver-support dependencies
Post by: jncs on November 23, 2008, 09:09:35 PM
Thanks to warren (and mary), and to Stefano.

I can't resolve my problem with any one of the approaches!

warren (or marry):
Using rpm -e php doesn't work because all the existing dependencies! I don't know how to workaround this!

Stefano:
How can I update to 7.4 manually using rpm?
Exactly how do I use rpm enabling smeserver-support repository (using rpm to install packages from Internet)?

Tanks to all! 
Title: Re: smeserver-support dependencies
Post by: cactus on November 23, 2008, 09:29:01 PM
Using rpm -e php doesn't work because all the existing dependencies! I don't know how to workaround this!
Code: [Select]
rpm -e --nodeps package
Title: Re: smeserver-support dependencies
Post by: janet on November 24, 2008, 03:28:41 AM
jncs

Quote
Using rpm -e php doesn't work because all the existing dependencies! I don't know how to workaround this!

Add all the dependencies in the one command and rpm will uninstall in the correct order

rpm -e package packagedependency1 packagedependency2
and so on.

See the earlier link referred to which has been updated
http://forums.contribs.org/index.php/topic,42683.msg201550.html#msg201550
Title: Re: smeserver-support dependencies
Post by: slords on November 24, 2008, 03:57:50 AM
Another option to try is to enable the centos plus repo and do a manual upgrade of smeserver-support and verify that the only updated packages pulled from the centos plus repo are the dependencies for php and mysql.  If any other packages come from the centos plus you might run into bigger issues.
Title: Re: smeserver-support dependencies
Post by: Hummdis on November 25, 2008, 10:24:03 PM
Why doesn't SME support or provide PHP5?  Zend no longer supports PHP4 and SME is therefore using an unsupported PHP version.  Zend dropped support around May of 2008.  Updating to PHP5 does nothing on the system except damage the "yum update" ability.

My work around to this whole problem was to remove php, horde and imp, then reinstall php4.  Once that was done, perform the "yum update" and when everything was complete I ran "yum install horde imp" then updated to PHP5 again.  Everything is working fine.  So why is SME forcing users to use PHP4 -- an version that's no longer support by its developer!?

All this is doing is limiting the SME users to what SME wants to provide, not what SME needs to provide.

The same goes for MySQL.  I'm running both MySQL 5 and PHP 5 with SME 7.4 -- all works fine and without any work-arounds.
Title: Re: smeserver-support dependencies
Post by: Stefano on November 25, 2008, 10:41:45 PM
Why doesn't SME support or provide PHP5?  Zend no longer supports PHP4 and SME is therefore using an unsupported PHP version.  Zend dropped support around May of 2008.  Updating to PHP5 does nothing on the system except damage the "yum update" ability.

Because SME 7.X depends on Centos 4.X that depends on RH 4.X and in those distro there's no ufficial support for php5 and mysql5..

this has been told many, many times.. it's not a SME's devs choice..

Ciao
Stefano
Title: Re: smeserver-support dependencies
Post by: cactus on November 25, 2008, 10:41:59 PM
My work around to this whole problem was to remove php, horde and imp, then reinstall php4.  Once that was done, perform the "yum update" and when everything was complete I ran "yum install horde imp" then updated to PHP5 again.  Everything is working fine.  So why is SME forcing users to use PHP4 -- an version that's no longer support by its developer!?

All this is doing is limiting the SME users to what SME wants to provide, not what SME needs to provide.

The same goes for MySQL.  I'm running both MySQL 5 and PHP 5 with SME 7.4 -- all works fine and without any work-arounds.
It has been said many times before... The development time and number of developers is limited as well as the budget. All is done in free time.

The goal of SME Server is to provide a stable, secure small business server. Not to be a otp notch hosting server with all stars and bells. To keep the system as stable and secure as possible with the limited resources the developers stick to the mother distribution as close as possible (which in the case of SME Server 7.4 is CentOS 4.7, SME Server 8 is based on CentOS 5.2).
CentOS in turn is based on RHEL.

About the packages not being supported you are wrong. AFAIK bug fixes and security fixes are still released by RHEL and subsequently passed down the chain to CentOS and from there to SME Server. The PHP and MySQL packages on SME Server are the same as on CentOS.

If you really desire PHP 5 and MySQL 5 you are better of installing a RHEL or CentOS machine yourself or put forward time or money so we can implement it on SME Server in the long term, but you should keep in mind that this means a lot of more work and higher workload for the severly limted deveopment team.

Oh and BTW, try to do some investigation before posting criticism like this as these questions have been answered multiple times in the forums.
Title: Re: smeserver-support dependencies
Post by: cactus on November 25, 2008, 10:42:42 PM
it's not a SME's devs choice..
Actually it is, but they do not have much choice as I explained in my earlier post.
Title: Re: smeserver-support dependencies
Post by: Stefano on November 25, 2008, 10:52:27 PM
Actually it is, but they do not have much choice as I explained in my earlier post.

I agree.. sometimes I'd be more clear :wink:

Thanks for your clarification
Ciao

Stefano
Title: Re: smeserver-support dependencies
Post by: davelister on November 26, 2008, 02:42:42 AM
My work around to this whole problem was to remove php, horde and imp, then reinstall php4.  Once that was done, perform the "yum update" and when everything was complete I ran "yum install horde imp" then updated to PHP5 again.  Everything is working fine. 

I imagine many others have upgraded to php5 and have had troubles with the latest update (not the fault of SME btw - and in fact I think it is a good thing). But you could help others out by telling us how you went about removing php, horde and imp. So that others might be able to work through the upgrade as smooth as possible
Title: Re: smeserver-support dependencies
Post by: janet on November 26, 2008, 03:21:22 AM
Hummdis

Quote
Why doesn't SME support or provide PHP5?

sme8 does, and although beta, it is well advanced in development


Title: Re: smeserver-support dependencies
Post by: Normando on April 10, 2009, 07:21:35 AM
post ready to delete.
Title: Re: smeserver-support dependencies
Post by: cactus on April 10, 2009, 08:21:33 AM
For those who has updated php to 5.1.6 and can't update sme server follow these commands:

Code: [Select]
wget http://mirror.contribs.org/smeserver/contribs/nhall/sme7/php-issues/rpms/smeserver-support-2.0.0-3.el4.sme.noarch.rpm
yum localinstall smeserver-support-2.0.0-3.el4.sme.noarch.rpm
signal-event post-upgrade
signal-event reboot

Then do again yum update and see if are all ok.

The issue with updates happens because some php-* marked as obsoletes and break the compatibility with php-5.1.6

This is the same rpm as yum update (you can download srpm to see) with only one change: I have commented some "obsoletes" php packages.
Normando, please do not redistribute rebuild core SME Server packages. This is counter inductive to SME Servers stability and besides you are using the same version numbers for two different versions of the RPM now. Usng this package might cause unforeseen issues in the future
Title: Re: smeserver-support dependencies
Post by: Normando on April 10, 2009, 08:45:57 AM
Please cactus, delete my post and your post with my quote message to avoid future problems with the package. I have deleted from the mirrors.
Title: Re: smeserver-support dependencies
Post by: cactus on April 10, 2009, 08:49:16 AM
Please cactus, delete my post and your post with my quote message to avoid future problems with the package. I have deleted from the mirrors.
Thanks for removing them, I will leave the posts unmodified. No need to remove them AFAIK.
Title: Re: smeserver-support dependencies
Post by: edb on April 23, 2009, 05:16:59 PM
Normando, please do not redistribute rebuild core SME Server packages. This is counter inductive to SME Servers stability and besides you are using the same version numbers for two different versions of the RPM now. Usng this package might cause unforeseen issues in the future

Could I please get this rpm as I see it is no longer available here? This is what I need to fix my issue so is there a link that I could use to obtain it?
Thanks

-edb
Title: Re: smeserver-support dependencies
Post by: Stefano on April 23, 2009, 05:43:53 PM
edb, as Cactus said thar rpm is <evil>

please explain your problem here or in bugzilla, thank you

Ciao
Stefano
Title: Re: smeserver-support dependencies
Post by: edb on April 23, 2009, 05:46:10 PM
Could someone tell me just what this rpm "smeserver-support-2.0.0-3.el4.sme.noarch.rpm" does anyway and if it is totally necessary to install as it seems to be the culprit of a lot of the issues due to the dependencies??

Thanks
-edb
Title: Re: smeserver-support dependencies
Post by: edb on April 23, 2009, 05:50:07 PM
edb, as Cactus said thar rpm is <evil>

please explain your problem here or in bugzilla, thank you

Ciao
Stefano


Well I have the same issue as what started this thread regarding the yum update after PHP5 was installed from the Centosplus repo. It appears to be due to php-domxml which is flagged as version 4 but my error is exactly the same as the initial poster.
Thanks
-edb

Here is my error:

Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-support.noarch 0:2.0.0-3.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-imap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-gd
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-mbstring
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-cli
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-mysql
--> Processing Dependency: php-domxml for package: e-smith-horde
--> Processing Dependency: smeserver-locale-ru for package: smeserver-support
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-bcmath
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-ldap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php
--> Processing Dependency: smeserver-locale-zh_CN for package: smeserver-support
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-pdo
--> Processing Dependency: php-api = 20041225 for package: php-mcrypt
--> Processing Dependency: smeserver-locale-nb for package: smeserver-support
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-locale-ru.noarch 0:2.0.0-19.el4.sme set to be updated
---> Package php-domxml.i386 0:4.3.9-3.22.15 set to be updated
---> Package smeserver-locale-nb.noarch 0:2.0.0-19.el4.sme set to be updated
---> Package smeserver-locale-zh_CN.noarch 0:2.0.0-19.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-imap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-bcmath
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-gd
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-pdo
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-cli
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-mbstring
--> Processing Dependency: aspell-ru for package: smeserver-locale-ru
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-ldap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-domxml
--> Processing Dependency: php-api = 20041225 for package: php-mcrypt
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package aspell-ru.i386 50:0.99f7-2.2.2.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-imap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-gd
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-pdo
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-cli
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-mbstring
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-bcmath
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-ldap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-domxml
--> Processing Dependency: php-api = 20041225 for package: php-mcrypt
--> Finished Dependency Resolution
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.10 is needed by package php-imap
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.10 is needed by package php-gd
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.10 is needed by package php-mbstring
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.10 is needed by package php-cli
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.10 is needed by package php-mysql
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.10 is needed by package php-bcmath
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.10 is needed by package php-ldap
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.10 is needed by package php
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.10 is needed by package php-pdo
Error: Missing Dependency: php-api = 20041225 is needed by package php-mcrypt
Error: Missing Dependency: php = 4.3.9-3.22.15 is needed by package php-domxml
yum update smeserver-support.noarch failed: 256
Title: Re: smeserver-support dependencies
Post by: edb on April 23, 2009, 06:02:39 PM
Would I maybe be better off removing PHP5 and reverting back to PHP4 and then using this contrib http://wiki.contribs.org/PHP5 (http://wiki.contribs.org/PHP5) instead of using the centosplus rpms for PHP5?

Would the per ibay PHP5-CGI provide the exact same functionality as a full blown PHP5 install?

Thanks
-edb
Title: Re: smeserver-support dependencies
Post by: Normando on April 23, 2009, 06:12:26 PM
Download the source rpm and make your own rpm (not in production server).

Comment these lines in the spec file:

Quote
# Obsoletes: php-curl = 4.3.10-3eo
# Obsoletes: php-devel = 4.3.10-3eo
# Obsoletes: php-domxml = 4.3.10-3eo
# Obsoletes: php-imap = 4.3.10-3eo
# Obsoletes: php-ldap = 4.3.10-3eo
# Obsoletes: php-mcrypt = 4.3.10-3eo
# Obsoletes: php-mhash = 4.3.10-3eo
# Obsoletes: php-mysql = 4.3.10-3eo
# Obsoletes: php-odbc = 4.3.10-3eo
# Obsoletes: php-snmp = 4.3.10-3eo
# Obsoletes: php-xmlrpc = 4.3.10-3eo

Quote
# Obsoletes: php-imap = 4.3.10-01es01
# Obsoletes: php-ldap = 4.3.10-01es01
# Obsoletes: php-mysql = 4.3.10-01es01

Change "%define dist" variable with

Quote
%define dist .el4.sme

Install with "yum localinstall" NOT rpm -Uvh

I will not say nothing more about this, because I received a warning from moderators. You are the responsible for your SME stability and compatibility with future updates.
Title: Re: smeserver-support dependencies
Post by: edb on April 23, 2009, 06:24:25 PM
Thanks Normando!
Title: Re: smeserver-support dependencies
Post by: slords on April 23, 2009, 07:02:33 PM
Normando that won't work.  Those obsoletes are specific versions that were part of 6.x + update script that we needed to remove.  If you don't have that exact same version installed then those lines don't do anything.  I'm not sure why you think this fixes the issue but it most likely won't.
Title: Re: smeserver-support dependencies
Post by: Normando on April 23, 2009, 08:10:28 PM
Shad, you are right you supposed. I was supposed the same, but commenting these lines I can update my server with smeserver-support. I don't know why. Anyway, I think it's enough to declare as obsolete php = 4.3.10-3eo or php = 4.3.10-01es01 packages, because php-imap = 4.3.10-01es01 and all php modules are dependent on php = 4.3.10-01es01.

In other word, it is necessary to make the following packages obosoletes, if with only declare php = xxx is suficient?

Quote
Obsoletes: php = 4.3.10-3eo
# Obsoletes: php-curl = 4.3.10-3eo
# Obsoletes: php-devel = 4.3.10-3eo
# Obsoletes: php-domxml = 4.3.10-3eo
# Obsoletes: php-imap = 4.3.10-3eo
# Obsoletes: php-ldap = 4.3.10-3eo
# Obsoletes: php-mcrypt = 4.3.10-3eo
# Obsoletes: php-mhash = 4.3.10-3eo
# Obsoletes: php-mysql = 4.3.10-3eo
# Obsoletes: php-odbc = 4.3.10-3eo
# Obsoletes: php-snmp = 4.3.10-3eo
# Obsoletes: php-xmlrpc = 4.3.10-3eo


Or

Quote
Obsoletes: php = 4.3.10-01es01
# Obsoletes: php-imap = 4.3.10-01es01
# Obsoletes: php-ldap = 4.3.10-01es01
# Obsoletes: php-mysql = 4.3.10-01es01


I hope you can understand my bad english.
Title: Re: smeserver-support dependencies
Post by: slords on April 23, 2009, 10:14:30 PM
Here we go again making assumptions without understanding what is really going on.

Quote
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-support.noarch 0:2.0.0-3.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-imap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-gd
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-mbstring
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-cli
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-mysql
--> Processing Dependency: php-domxml for package: e-smith-horde
--> Processing Dependency: smeserver-locale-ru for package: smeserver-support
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-bcmath
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-ldap
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php
--> Processing Dependency: smeserver-locale-zh_CN for package: smeserver-support
--> Processing Dependency: php-common = 5.1.6-3.el4s1.10 for package: php-pdo
--> Processing Dependency: php-api = 20041225 for package: php-mcrypt

There are a lot of php stuff but the key line in there is that php-domxml is required by e-smith-horde.  Nothing in there are all about smeserver-support.  It is e-smith-horde requiring php-domxml that is starting this whole thing.

Quote
---> Package php-domxml.i386 0:4.3.9-3.22.15 set to be updated

And because it doesn't have a php-domxml for the php you have installed it tries to pull the best match it has which is a version for 4 not 5.  It is all downhill from here.

Quote
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-domxml

Here we try and pull in php-4 because the php-domxml requires that version.

Quote
Error: Missing Dependency: php = 4.3.9-3.22.15 is needed by package php-domxml

And here is one (the real one) that is causing the upgrade to fail.  It won't install php-4 because you already have php-5 installed.

If you really want to be able to upgrade try installing php-xml from the centosplus repo which provides php-domxml and everything should proceed fine after that.

Normando, don't take offense to this it isn't directed at you directly.  There is a lot of bad advice given in the forums by individuals that don't fully understand what is going on.  Taking stabs in the dark and trying stuff (that might appear to work) doesn't explain what the real issue is and doesn't solve the issue.  The only place this really takes place is in the bugtracker.

The reason we wan't bugs raised is so the developers see what is going on and we can solve the issues correctly for everyone.  We don't have time to trawl the forums for issues and there is no accountability or tracking of issues here.  Please follow directions and raise bugs in the correct place so that we can fix the real issues the correct way.
Title: Re: smeserver-support dependencies
Post by: edb on April 24, 2009, 01:10:01 AM

If you really want to be able to upgrade try installing php-xml from the centosplus repo which provides php-domxml and everything should proceed fine after that.



Hi slords

First of all thanks for your input!

Unfortunately, I already have php-xml from the centosplus repo installed. So I'm not sure that is the answer to this issue.

-edb
Title: Re: smeserver-support dependencies
Post by: Normando on April 24, 2009, 02:08:03 AM
Shad, thanks for your advices. I have already opened a bug at the bug tracker, http://bugs.contribs.org/show_bug.cgi?id=5138 and this is closed invalid, and I agree with that, because php5 is not supported. For this reason I discuss here in the forum. No ofence, I agree with you.

I already have php-xml

Quote
rpm -q php-xml
php-xml-5.1.6-3.el4s1.10