Koozali.org: home of the SME Server

smeserver-support dependencies

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: smeserver-support dependencies
« Reply #15 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
« Last Edit: November 25, 2008, 10:54:04 PM by nenonano »

Offline davelister

  • *
  • 51
  • +0/-0
    • IgnitionJournal
Re: smeserver-support dependencies
« Reply #16 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

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: smeserver-support dependencies
« Reply #17 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


Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: smeserver-support dependencies
« Reply #18 on: April 10, 2009, 07:21:35 AM »
post ready to delete.
« Last Edit: April 10, 2009, 08:44:35 AM by Normando »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: smeserver-support dependencies
« Reply #19 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
« Last Edit: April 10, 2009, 08:28:32 AM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Normando

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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: smeserver-support dependencies
« Reply #21 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline edb

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

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: smeserver-support dependencies
« Reply #23 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

Offline edb

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

Offline edb

  • *
  • 548
  • +0/-0
Re: smeserver-support dependencies
« Reply #25 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
« Last Edit: April 23, 2009, 05:58:48 PM by edb »
......

Offline edb

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

Offline Normando

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

Offline edb

  • *
  • 548
  • +0/-0
Re: smeserver-support dependencies
« Reply #28 on: April 23, 2009, 06:24:25 PM »
Thanks Normando!
......

Offline slords

  • *****
  • 235
  • +3/-0
Re: smeserver-support dependencies
« Reply #29 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.
"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