Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: brianr on January 14, 2006, 11:00:52 AM

Title: yum update on 6.0.1 failing
Post by: brianr on January 14, 2006, 11:00:52 AM
i am trying to do a Yum update on a "virgin" 6.0.1 system, and I get a dependency failure -

package php-pgsql needs php = 4.1.2-2es3 (not provided)

Any ideas anyone?

I guess I could go and find the package, but I presume we ought to be able to update using yum?
Title: yum update on 6.0.1 failing
Post by: mrjhb3 on January 14, 2006, 04:13:34 PM
Are you sure you haven't upgraded your php using one of ergozd scripts?  His scripts install php-pgsql.  Or, installed any other package that may have installed php-pqsql?  A default install of SME 6.0.1 includes these php rpms:
[root@test601 root]# rpm -qa | grep php
php-4.1.2-7.3.6es1
php-imap-4.1.2-7.3.6es1
php-ldap-4.1.2-7.3.6es1
e-smith-php-1.10.0-01
php-mysql-4.1.2-7.3.6es1

What do you get when you do this command

[root@test601 root]# php -v
4.1.2
Title: yum update on 6.0.1 failing
Post by: brianr on January 14, 2006, 06:20:47 PM
I get:

[root@messerver root]# php -v
4.1.2
[root@messerver root]# rpm -qa | grep php
php-pgsql-4.1.2-2es3
php-mysql-4.1.2-7.3.6es1
php-ldap-4.1.2-7.3.6es1
e-smith-php-1.10.0-01
php-4.1.2-7.3.6es1
php-imap-4.1.2-7.3.6es1
[root@messerver root]#

So as you can see i do have php-pgsql, although i am not sure why.  Should i try to uninstall it and see what moans?

I have other servers like this one, where I have used yum to update over the last few months, and have had no failures like this.
Title: yum update on 6.0.1 failing
Post by: mrjhb3 on January 14, 2006, 06:38:49 PM
php-pgsql-4.1.2-2es3  is the php postgres interface.  If you aren't using postgres, then you should be able to uninstall it.  I referenced this link - http://forums.contribs.org/index.php?topic=17964.0  
I searched the contribs.org site for php-pgsql-4.1.2-2es3 and had more its.

I also looked at the ISO contents for sme60, 6.0.1 and 6.5 and none of them contain this rpm.  

GL,

JB
Title: yum update on 6.0.1 failing
Post by: wellsi on January 14, 2006, 09:26:39 PM
This was also raised on DevInfo


>Package php-pgsql needs php = 4.1.2-2es3 (not provided)
 
Php-pgsql was not provided in the original SME 6.x releases, so the update
Does not provide a new version of this.
 
However the build system did generate this file which is currently available

At (not tested) :
http://wellsi.com/sme/patches/6.0/php-pgsql-4.1.2-7.3.18.legacy.sme1.i386
rpm
----

However - unless you know that you really need php-pgsql I recommend that you remove it. This simpler option was suggested by Charlie and solved the problem for others.

----

Finally a very easy way to see what RPMs are included in all 6.x distros is look at http://wellsi.com/sme/info/sme6releases-iso-versions.html

There's another page with even more SME versions and their original RPMS http://wellsi.com/sme/info/smereleases-rpms.html

Ian
Title: yum update on 6.0.1 failing
Post by: wellsi on January 14, 2006, 09:29:08 PM
Are you sure that this was not upgraded from SME 5.5 or earlier?

SME 5.5 and earlier all had php-pgsql, SME 5.5 had 4.1.2 and earlier 5.x versions had 4.04

Ian
Title: yum update on 6.0.1 failing
Post by: brianr on January 14, 2006, 10:56:24 PM
Actually it is possible that this was an upgrade from 5.5, can't remember.

Anyway i have deleted the offending rpm, and the update has gone through fine.

Many thanks for the help.