Koozali.org: home of the SME Server

How to upgrade to 7.1.1 if have PHP5 + MySQL5

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« on: March 01, 2007, 02:19:36 PM »
Hello Everyone,

I see the new SME Server update (7.1.1) on mirror yesterday but when I try to update my server I get those error:

Quote

Error: Missing Dependency: php = 5.1.6-1.2.1.centos is needed by package php-imap
Error: Missing Dependency: php is needed by package pear-date
Error: Missing Dependency: php is needed by package pear-mail
Error: Missing Dependency: php >= 4.0.1 is needed by package e-smith-php
Error: Missing Dependency: php >= 4.3.0 is needed by package ingo-h3
Error: Missing Dependency: php is needed by package e-smith-ingo
Error: Missing Dependency: php is needed by package pear-mail_mime
Error: Missing Dependency: php is needed by package e-smith-imp
Error: Missing Dependency: php = 5.1.6-1.2.1.centos is needed by package php-gd
Error: Missing Dependency: php = 5.1.6-1.2.1.centos is needed by package php-ldap
Error: Missing Dependency: php is needed by package pear-log
Error: Missing Dependency: php >= 5.1.0-1 is needed by package php-pear
Error: Missing Dependency: php = 5.1.6-1.2.1.centos is needed by package php-mysql
Error: Missing Dependency: php is needed by package pear-file
Error: Missing Dependency: php >= 4.3.0 is needed by package imp-h3
Error: Missing Dependency: php >= 4.3.0 is needed by package horde
Error: Missing Dependency: php = 5.1.6-1.2.1.centos is needed by package php-mbstring
Error: Missing Dependency: php >= 4.3.0 is needed by package turba-h3
Error: Missing Dependency: php is needed by package pear-db
Error: Missing Dependency: php = 5.1.6-1.2.1.centos is needed by package php-pdo
Error: Missing Dependency: php = 4.3.9-3.22.3 is needed by package php-domxml
================================================================


Any Idea to update it ?

Thanks and great job  :wink:

Snoopyski

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #1 on: March 01, 2007, 02:40:00 PM »
Code: [Select]
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons \
--exclude=php*


Maybe ?
Regards,
William

IF I give advise.. It's only if it was me....

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #2 on: March 01, 2007, 05:05:28 PM »
Hello William_Syd,

Thanks for answer... but no success same error...

It seams to ignore my exclude command !!!

Any other idea ?

Thanks,

Snoopyski

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #3 on: March 01, 2007, 09:42:45 PM »
Quote from: "Snoopyski"
Hello William_Syd,

Thanks for answer... but no success same error...

It seams to ignore my exclude command !!!

Any other idea ?

Thanks,

Snoopyski
That is probably because some packages that come with the upgrade depend on php 4.3.9-3.22.3 (see the last line of the dependency list) and therefore require this to be installed all others have a minimal requirement, but somewhere in the list is a package that requires 4.3.0-3.22.3 exactly). I guess the only way is to find out which packages do and try to leave them out... or uninstall MySQL 5 and PHP 5, do the upgrade and run the PHP and MySQL upgrade again... don't forget to cross your fingers :-)
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 william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #4 on: March 01, 2007, 10:09:58 PM »
Start with excluding this
Quote
php-domxml

Don't think it's used with php5.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #5 on: March 01, 2007, 10:43:38 PM »
Or try
Code: [Select]
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons

Followed by
Code: [Select]
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons


The second one may still fail. Try some excludes there.
Regards,
William

IF I give advise.. It's only if it was me....

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #6 on: March 02, 2007, 01:50:34 AM »
Quote from: "Snoopyski"

Any other idea ?


Remove or downgrade your php and mysql rpms.

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #7 on: March 02, 2007, 02:10:24 AM »
As a similar situation occured when upgrading 7.0 to 7.1, some threads discussed that problem. Maybe some solutions were found then.
Sophie from Montréal

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #8 on: March 02, 2007, 02:48:18 AM »
Maybe..
Code: [Select]
rpm -e --nodeps php-domxml
Then do the update.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #9 on: March 02, 2007, 12:51:50 PM »
Thanks...

But same error !!!

I really don't want to "downgrade" PHP5 and MySQL 5 to 4... I used to aopplication need those version !!! And I think "downgrade" made yum update and "upgrade" again to PHP5 and MySQL 5 was to dangeorous ???

Thanks,

Snoopyski

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #10 on: March 02, 2007, 01:10:11 PM »
Did you ever do anything in regard to this post..

http://forums.contribs.org/index.php?topic=35432.msg155020#msg155020

?
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #11 on: March 02, 2007, 03:04:47 PM »
Ok... try this...

Code: [Select]
yum update smeserver-yum \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons


Code: [Select]
signal-event post-upgrade
signal-event reboot


Code: [Select]
db yum_repositories setprop updates Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
db yum_repositories setprop base Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
db yum_repositories setprop centosplus Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts
expand-template /etc/yum.conf


Code: [Select]
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=centosplus \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons


I haven't said 'y' yet.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #12 on: March 02, 2007, 04:03:26 PM »
Don't say yes.. it's bad.

Maybe more exclusions from centosplus
Code: [Select]
db yum_repositories setprop centosplus Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts,perl-suidperl,perl
Regards,
William

IF I give advise.. It's only if it was me....

Offline cjensen

  • *
  • 133
  • +0/-0
    • http://acenet-tech.org
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #13 on: March 02, 2007, 07:46:42 PM »
Quote from: "Snoopyski"
I really don't want to "downgrade" PHP5 and MySQL 5 to 4... I used to aopplication need those version !!! And I think "downgrade" made yum update and "upgrade" again to PHP5 and MySQL 5 was to dangeorous ???


This is why upgrades of core packages such as these is not a good Idea.  Eventually you will want to upgrade and that is when things break.  Yum is a wonderful tool but it makes things messy if you upgrade things around it ;-) In the 'long-term' Charlie Brady's suggestion would be best.

Craig

Offline Snoopyski

  • *
  • 141
  • +0/-0
    • http://www.serviceinfosg.com
How to upgrade to 7.1.1 if have PHP5 + MySQL5
« Reply #14 on: March 02, 2007, 10:04:16 PM »
OK... Let's see !!!

I "downgrade" with those command (from http://smeserver.pialasse.com) web site...

Step1:

***REMOVE DUNGOG USERS PANEL CONTRIBS***

Step2:

Code: [Select]

service httpd-e-smith stop
rpm -e --nodeps php-mysql php-imap php-pdo php-gd php-mbstring php-pear php-ldap php-xml php
yum install php php-mysql php-imap php-domxml php-gd php-pear php-ldap php-mbstring
rm /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20loadModule80PHP
rm /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
expand-template /etc/php.ini
expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith start


Step 3:

Code: [Select]

yum update
signal-event post-upgrade
signal-event reboot


And Now I see the new beautifull console menu of 7.1.1 !!!

BUT now I'm not able to go in server-manager AND in console mode Access to Server-manager (lynx) = access denied !!!

Any idea ????

Thanks,

Snoopyski[/quote]