Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Snoopyski 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:
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
-
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons \
--exclude=php*
Maybe ?
-
Hello William_Syd,
Thanks for answer... but no success same error...
It seams to ignore my exclude command !!!
Any other idea ?
Thanks,
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 :-)
-
Start with excluding this
php-domxml
Don't think it's used with php5.
-
Or try
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
Followed by
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
The second one may still fail. Try some excludes there.
-
Any other idea ?
Remove or downgrade your php and mysql rpms.
-
As a similar situation occured when upgrading 7.0 to 7.1, some threads discussed that problem. Maybe some solutions were found then.
-
Maybe..
rpm -e --nodeps php-domxml
Then do the update.
-
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
-
Did you ever do anything in regard to this post..
http://forums.contribs.org/index.php?topic=35432.msg155020#msg155020
?
-
Ok... try this...
yum update smeserver-yum \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
signal-event post-upgrade
signal-event reboot
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
yum update \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=centosplus \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons
I haven't said 'y' yet.
-
Don't say yes.. it's bad.
Maybe more exclusions from centosplus
db yum_repositories setprop centosplus Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts,perl-suidperl,perl
-
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
-
OK... Let's see !!!
I "downgrade" with those command (from http://smeserver.pialasse.com) web site...
Step1:
***REMOVE DUNGOG USERS PANEL CONTRIBS***
Step2:
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:
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]
-
OK OK OK
Now it's work !!!
I fix my last "BUG" with this:
http://bugs.contribs.org/show_bug.cgi?id=2035
Thanks everybody !
Snoopyski
PS... NOW I NEED TO PUT BACK PHP5 AND MYSQL5 :?
-
PS... NOW I NEED TO PUT BACK PHP5 AND MYSQL5 Confused
Don't use the old wiki how-to.
It should be something simpler like
db yum_repositories setprop centosplus Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts,perl*,httpd,mod_ssl
expand-template /etc/yum.conf
yum update php mysql \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=centosplus \
--enablerepo=smeaddons
signal-event post-upgrade
signal-event reboot
mysql_upgrade
The above step may fail.. just continue on.
cat /usr/share/mysql/mysql_fix_privilege_tables.sql | /usr/bin/mysql \
--force \
--user=root \
--host=localhost \
--database=mysql
signal-event post-upgrade
signal-event reboot