postgres 8.0.1 install failure

havner havner at smtp.kamp.pl
Fri Mar 25 15:19:08 CET 2005


On Fri, Mar 25, 2005 at 02:59:14PM +0100, havner wrote:
> On Fri, Mar 25, 2005 at 02:28:29PM +0100, Tomasz Pala wrote:
> > Preparing...                ########################################### [100%]
> >    1:postgresql-libs        ########################################### [ 33%]
> >    2:postgresql-clients     ########################################### [ 67%]
> > useradd: unknown group postgres
> > error: %pre(postgresql-8.0.1-2) scriptlet failed, exit status 6
> > error:   install: %pre scriptlet failed (2), skipping postgresql-8.0.1-2
> > There were errors
> 
> Cos mi sie to dziwnie widzi:
> 
> wywalic sie musialo to:
>         /usr/sbin/useradd -M -o -r -u 88 \
>                 -d /home/services/postgres -s /bin/sh -g postgres \
>                 -c "PostgreSQL Server" postgres
> 
> ale wczesniej jest:
> if [ -n "`/usr/bin/getgid postgres`" ]; then
>         if [ "`/usr/bin/getgid postgres`" != "88" ]; then
>                 echo "Error: group postgres doesn't have gid=88..."
>                 exit 1
>         fi
> else
>         /usr/sbin/groupadd -g 88 -r postgres
> fi
> 
> Wiec jesli nie dostales exit 1 wczesniej to musial ta grupe zrobic.

Damn, sorry for polish ;-)

-- 
Regards    Havner                      {jid,mail}:havner(at)pld-linux.org
PLD developer && PLD 2.0 release manager         http://www.pld-linux.org
PLD LiveCD author                             http://livecd.pld-linux.org
                   "Quis custodiet ipsos custodes?"




More information about the pld-devel-en mailing list