Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Derek Godfrey on August 30, 2003, 04:08:00 AM
-
I have been trying to upgrade PHP to the latest version as per the How-To. I am getting an error message as follows when trying to update RPMs:
[root@e-smith phprpms]# rpm -Uvh php_4.3.2/*
error: failed dependencies:
php = 4.1.2-2es3 is needed by php-pgsql-4.1.2-2es3
Please tell me how to fix this. I would really like to have the new PHP ASAP!
Thanks,
Derek
-
Assuming you don't have postgresql installed (it isn't installed by default), do this:
# rpm -e php-pgsql
That's it!
-
this is what I get
[root@mail1 root]# rpm -e rpm -e php-pgsql
error: removing these packages would break dependencies:
rpm = 4.0.4 is needed by rpm-build-4.0.4-7x.18
rpm = 4.0.4 is needed by rpm-perl-4.0.4-7x.18
librpm-4.0.4.so is needed by rpm-build-4.0.4-7x.18
librpm-4.0.4.so is needed by rpm-perl-4.0.4-7x.18
librpm-4.0.4.so is needed by ucd-snmp-4.2.5-7.73.0
librpmbuild-4.0.4.so is needed by rpm-build-4.0.4-7x.18
librpmdb-4.0.4.so is needed by rpm-build-4.0.4-7x.18
librpmdb-4.0.4.so is needed by rpm-perl-4.0.4-7x.18
librpmdb-4.0.4.so is needed by ucd-snmp-4.2.5-7.73.0
librpmio-4.0.4.so is needed by rpm-build-4.0.4-7x.18
librpmio-4.0.4.so is needed by rpm-perl-4.0.4-7x.18
librpmio-4.0.4.so is needed by ucd-snmp-4.2.5-7.73.0
-
No, you only need one "rpm -e" in the command line...
-
Of course you do!
I'm sorry I didn't even notice, thanks for pointing out my error.
Thanks Dan
-
Where can I get the how to?????
-
You can try it here.
http://www.leiinc.com/repository/Linux/Mitel_SME_Server/HowToGuides/sme56_imp-horde-php_upgrade.htm
Couldn't really follow Dan's howto. Couldn't find it also. The contribs side doesn't have his name. Anyhow, this works just as fine.
Regards,
ChanChong.