Thread

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

    PostgreSQL Bugs List <pgsql-bugs@postgresql.org> — 2001-02-28T19:12:51Z

    Mark Reibert (mark.reibert@datasoft.com) 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
    
    
    
  2. Re: RPM postinstall script fails in postgresql-server-7.0.3-2.i386.rpm

    Lamar Owen <lamar.owen@wgcr.org> — 2001-02-28T20:38:05Z

    pgsql-bugs@postgresql.org wrote:
    > 
    > Mark Reibert (mark.reibert@datasoft.com) reports a bug with a severity of 3
    
    > [root]# rpm -qp --scripts postgresql-server-7.0.3-2.i386.rpm
    > postinstall script (through /sbin/ldconfig):
    
    Thanks for the bug report -- the 7.1 beta and the latest 7.0.3 (21?)
    RPM's have this fixed, IIRC.  Well, I _know_ the 7.1beta RPM's have it
    fixed.
    --
    Lamar Owen
    WGCR Internet Radio
    1 Peter 4:11