Koozali.org: home of the SME Server

smeserver-support.noarch 0:2.0.0-7.el4.sme won't install

Offline mike_mattos

  • *
  • 313
  • +0/-0
smeserver-support.noarch 0:2.0.0-7.el4.sme won't install
« on: April 26, 2010, 02:14:58 PM »
A totally vanilla 7.4 install has all updates installed except smeserver-support.noarch 0:2.0.0-7.el4.sme, which fails with

Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-mysql
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.5 is needed by package php-mbstring
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 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.5 is needed by package php-pdo
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-imap
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-gd
Error: Missing Dependency: php = 4.3.9-3.29 is needed by package php-domxml

Everything seems to work,  is this update actually needed? 
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: smeserver-support.noarch 0:2.0.0-7.el4.sme won't install
« Reply #1 on: April 26, 2010, 02:51:06 PM »
this is not a vanilla SME 7.4 as you have upgraded php to 5.1.6

the only way is to exclude smeserver-support from update, download it and install it with --nodeps flag, but it's not recommendend as you could have some unexpected side effects.

Offline mike_mattos

  • *
  • 313
  • +0/-0
Re: smeserver-support.noarch 0:2.0.0-7.el4.sme won't install
« Reply #2 on: April 26, 2010, 03:21:58 PM »
Strange, the machine reports MySql version 5!  My other 7.4 machines show version MySQL 4!

And it looks like the last change to mysql.ini was in 2007 ! 




 

...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: smeserver-support.noarch 0:2.0.0-7.el4.sme won't install
« Reply #3 on: April 26, 2010, 04:06:04 PM »
Strange, the machine reports MySql version 5!  My other 7.4 machines show version MySQL 4!

rpm -qa --last | grep -i php

will remind you when you installed PHP5. I don't know why you are telling us about mysql version.

Quote
And it looks like the last change to mysql.ini was in 2007 ! 

Data on .ini files doesn't tell you anything about the version of the software installed (php and mysql).


Offline mike_mattos

  • *
  • 313
  • +0/-0
Re: smeserver-support.noarch 0:2.0.0-7.el4.sme won't install
« Reply #4 on: April 26, 2010, 04:16:34 PM »
I wanted to use MySQL 5, so that would be what I installed as an add on, the php was probably added at the same time as a requisite.  Both were added in March 2007, strange that the stuck update is much more recent!



 
...

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: smeserver-support.noarch 0:2.0.0-7.el4.sme won't install
« Reply #5 on: April 26, 2010, 05:53:09 PM »
This is a frequently issue with those who have upgrade PHP. I solved making my own smeserver-support rpm. Please, don't flame me, this is the only fix I have found.

I was commented those line with obsoletes php-mysql, etc. in smeserver-support.spec

http://bugs.contribs.org/show_bug.cgi?id=5138
« Last Edit: April 26, 2010, 05:54:58 PM by Normando »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: smeserver-support.noarch 0:2.0.0-7.el4.sme won't install
« Reply #6 on: April 26, 2010, 07:00:41 PM »
This is a frequently issue with those who have upgrade PHP. I solved making my own smeserver-support rpm. Please, don't flame me, this is the only fix I have found.
I will still do as you should not do that, this might have undesired side effects, which you perhaps can fix yourself, but not all users can. Please do not distribute that modified smeserver-support RPM. Thanks.

The package is required as it is used to obsolete packages as well as to implement all supported locale for your SME Server.
« Last Edit: April 26, 2010, 07:03:12 PM 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 mike_mattos

  • *
  • 313
  • +0/-0
Re: smeserver-support.noarch 0:2.0.0-7.el4.sme won't install
« Reply #7 on: April 26, 2010, 11:48:04 PM »
SO do we still have to migrate to SME 8 for a stable up to date MySQL/PHP set?
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: smeserver-support.noarch 0:2.0.0-7.el4.sme won't install
« Reply #8 on: April 27, 2010, 12:00:49 AM »
No.. but you must know what are you doing and how to do it :-)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: smeserver-support.noarch 0:2.0.0-7.el4.sme won't install
« Reply #9 on: April 27, 2010, 03:51:24 AM »
SO do we still have to migrate to SME 8 for a stable up to date MySQL/PHP set?

That would be my advice.