Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: mike_mattos on November 09, 2006, 10:46:19 PM
-
the how_to seems to fail at
# yum --enablerepo=centosplus update php
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Could not find update match for php
No Packages marked for Update/Obsoletion
================================================================
No new rpms were installed. No additional commands are required.
================================================================
The result seems to be no php on the system, MySql5 works.
I repeated this on a fresh install
-
Works for me.
[root@c3 ~]# yum --enablerepo=centosplus update php
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.i386 0:5.0.4-5.centos4 set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.12 for package: php-mysql
--> Processing Dependency: php = 4.3.9-3.12 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.12 for package: php-ldap
--> Processing Dependency: php = 4.3.9-3.12 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.12 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.12 for package: php-gd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-imap.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-pear.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-ldap.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-mysql.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-gd.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-mbstring.i386 0:5.0.4-5.centos4 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
php i386 5.0.4-5.centos4 centosplus 2.3 M
Updating for dependencies:
php-gd i386 5.0.4-5.centos4 centosplus 96 k
php-imap i386 5.0.4-5.centos4 centosplus 44 k
php-ldap i386 5.0.4-5.centos4 centosplus 28 k
php-mbstring i386 5.0.4-5.centos4 centosplus 962 k
php-mysql i386 5.0.4-5.centos4 centosplus 58 k
php-pear i386 5.0.4-5.centos4 centosplus 359 k
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 7 Package(s)
Remove 0 Package(s)
Total download size: 3.8 M
Is this ok [y/N]:
-
Did you run the entire script including the command
rpm -e --nodeps php-domxml
and perform the mysql update?
The update failed on a test machine, and again on a brand new sme7 install!
-
I reinstalled SME on the drives, installed PHP as the SECOND line of the script, and despite a few errors reported at the httpd restart , all worked propertly after a reboot!
Thanks, William
-
Did you run the entire script including the command
rpm -e --nodeps php-domxml
If php-domxml is not removed then yum will not proceed.
[root@c3 ~]# yum --enablerepo=centosplus update php
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.i386 0:5.0.4-5.centos4 set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.12 for package: php-mysql
--> Processing Dependency: php = 4.3.9-3.15 for package: php-domxml
--> Processing Dependency: php = 4.3.9-3.12 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.12 for package: php-ldap
--> Processing Dependency: php = 4.3.9-3.12 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.12 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.12 for package: php-gd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-imap.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-pear.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-ldap.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-mysql.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-xml.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-gd.i386 0:5.0.4-5.centos4 set to be updated
---> Package php-mbstring.i386 0:5.0.4-5.centos4 set to be updated
--> Running transaction check
--> Processing Dependency: php-domxml for package: e-smith-horde
--> Finished Dependency Resolution
Error: Missing Dependency: php-domxml is needed by package e-smith-horde
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@c3 ~]#
and perform the mysql update?
No, I selected no and did not proceed. However it did show yum getting further than your original post.
installed PHP as the SECOND line of the script
Please explain.
and despite a few errors reported at the httpd restart
There should be no errors. Would you like to detail what they were ?
-
The httpd restart gave a "failed" response, I suspected that the restart command needed 'supervise' in the path. The system seemed to be OK on reboot.
My terminal history doesn't go far enough back to see if the other dialog was significant , phpMyAdmin filled the history with chatter about
/usr/share/mysql/mysql_fix_privilege_tables.sql
I'm updating another system this week, I'll record the dialog this time!
thx
MIke
-
I get the same problem. Follow the howto, but gets to the PHP bit and:
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
smeaddons 100% |=========================| 951 B 00:00
centosplus 100% |=========================| 951 B 00:00
smeos 100% |=========================| 951 B 00:00
smeupdates 100% |=========================| 951 B 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 54 kB 00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 54 kB 00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 54 kB 00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz 100% |=========================| 54 kB 00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksumTrying other mirror.
primary.xml.gz 100% |=========================| 54 kB 00:01
smeupdates: ################################################## 91/91
Added 1 new packages, deleted 0 old in 1.36 seconds
Could not find update match for php
No Packages marked for Update/Obsoletion
================================================================
No new rpms were installed. No additional commands are required.
================================================================
Hope this helps
-
I don't think the howto is still required.
EDIT: Disregard the above. I've lost server-manager.
Put your system back to normal - reinstall php-domxml if you have to.
Doyum --enablerepo=smeupdates-testing update e-smith-php
Then do yum update
followed by yum --enablerepo=base --enablerepo=updates --enablerepo=centosplus update php mysql
For me I get...Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-xml i386 5.0.4-5.centos4 centosplus 64 k
replacing php-domxml.i386 4.3.9-3.15
Updating:
mysql i386 5.0.22-1.centos.1 centosplus 3.0 M
php i386 5.1.6-1.2.1.centos centosplus 3.3 M
Installing for dependencies:
mysqlclient14 i386 4.1.14-4.2.c4.1 centosplus 1.1 M
php-pdo i386 5.1.6-1.2.1.centos centosplus 60 k
php-xml i386 5.1.6-1.2.1.centos centosplus 83 k
Updating for dependencies:
mysql-server i386 5.0.22-1.centos.1 centosplus 9.7 M
php-gd i386 5.1.6-1.2.1.centos centosplus 101 k
php-imap i386 5.1.6-1.2.1.centos centosplus 47 k
php-ldap i386 5.1.6-1.2.1.centos centosplus 30 k
php-mbstring i386 5.1.6-1.2.1.centos centosplus 968 k
php-mysql i386 5.1.6-1.2.1.centos centosplus 75 k
php-pear noarch 1:1.4.9-1.2.centos centosplus 342 k
Transaction Summary
=============================================================================
Install 4 Package(s)
Update 9 Package(s)
Remove 0 Package(s)
Total download size: 19 M
More info..
http://bugs.contribs.org/show_bug.cgi?id=1120