Koozali.org: home of the SME Server

smeserver-support dependencies

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: smeserver-support dependencies
« Reply #30 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.
« Last Edit: April 23, 2009, 08:13:25 PM by Normando »

Offline slords

  • *****
  • 235
  • +3/-0
Re: smeserver-support dependencies
« Reply #31 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.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook

Offline edb

  • *
  • 548
  • +0/-0
Re: smeserver-support dependencies
« Reply #32 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
......

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: smeserver-support dependencies
« Reply #33 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