Mark Reibert ([EMAIL PROTECTED]) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
RPM postinstall script fails in postgresql-server-7.0.3-2.i386.rpm

Long Description
Installing postgresql-server-7.0.3-2.i386.rpm on a Red Hat 6.2 box resulted in the 
following:

[root]# rpm -Uvh postgresql-server-7.0.3-2.i386.rpm 
postgresql-server ##################################################
/sbin/ldconfig: warning: can't open var/tmp/rpm-tmp.26860 (Not a directory), skipping
/sbin/ldconfig: warning: can't open 1 (No such file or directory), skipping

This appears to result from attempting to run the RPM post install script through 
ldconfig, as indicated by the following:

[root]# rpm -qp --scripts postgresql-server-7.0.3-2.i386.rpm
postinstall script (through /sbin/ldconfig):
echo PGLIB=/usr/lib/pgsql >> ~postgres/.bash_profile
echo PGDATA=/var/lib/pgsql/data >> ~postgres/.bash_profile
echo export PGLIB PGDATA >> ~postgres/.bash_profile

All other scripts in postgresql-server-7.0.3-2.i386.rpm run through /bin/sh as 
expected.


Sample Code


No file was uploaded with this report

Reply via email to