On Wed, 2007-02-28 at 00:48 +0100, Michael Gabriel wrote: > trying a yum update on mysql, postgres or php forces the others to > install. is that really wanted ?? Here is some testing on a system with nothing else installed: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root at i386 ~]# yum --enablerepo=centosplus install php <snip> ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: php i386 5.1.6-3.el4s1.5 centosplus 1.1 M Installing for dependencies: apr i386 0.9.4-24.5.c4.2 base 88 k apr-util i386 0.9.4-21 base 51 k curl i386 7.12.1-8.rhel4 base 231 k httpd i386 2.0.59-1.el4s1.5.el4.centos centosplus 928 k libidn i386 0.5.6-1 base 169 k php-cli i386 5.1.6-3.el4s1.5 centosplus 2.0 M php-common i386 5.1.6-3.el4s1.5 centosplus 135 k Transaction Summary ============================================================================= Install 8 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 4.7 M +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ As you can see ... there is not a requirement for mysql or postgresql in php by itself. Now ... IF you install php-mysql and php-pgsql, that does change: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root at i386 ~]# yum --enablerepo=centosplus install php php-mysql php-pgsql ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: php i386 5.1.6-3.el4s1.5 centosplus 1.1 M php-mysql i386 5.1.6-3.el4s1.5 centosplus 77 k php-pgsql i386 5.1.6-3.el4s1.5 centosplus 61 k Installing for dependencies: apr i386 0.9.4-24.5.c4.2 base 88 k apr-util i386 0.9.4-21 base 51 k curl i386 7.12.1-8.rhel4 base 231 k httpd i386 2.0.59-1.el4s1.5.el4.centos centosplus 928 k libidn i386 0.5.6-1 base 169 k mysql i386 5.0.27-1.el4.centos centosplus 3.3 M perl-DBI i386 1.53-2.el4s1 centosplus 602 k php-cli i386 5.1.6-3.el4s1.5 centosplus 2.0 M php-common i386 5.1.6-3.el4s1.5 centosplus 135 k php-pdo i386 5.1.6-3.el4s1.5 centosplus 219 k postgresql-libs i386 8.1.8-1.el4s1.1 centosplus 183 k Transaction Summary ============================================================================= Install 14 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 9.1 M ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ In that case, you would get a portion of mysql and postgresql. AND ... if you had mysql and postgresql installed, yum would want those upgraded to the version in centosplus repo. That is the way the Web Stack works ... all the components are designed to work together. Trying to make the Web Stack "mix and match" (ie, I want php-5 and mysql-3 and postgresql-8 ... not mysql-5) would require many changes ... and I spent 6 months begging/pleading/forcing RH to release the RHWAS code. It is a vastly superior stack for EL4 and is what the Enterprise customers want, need, and are willing to by big bucks for. It is based the source code from: http://www.redhat.com/solutions/rhappstack/ That is the CentOS Web Stack. Not sure why it is evil ... all the components work together and offer an upgrade path. Thanks, Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20070228/a7fbc615/attachment-0007.sig>