Re: /usr/sbin/useradd is needed by postgresql-server-8.0.1-PGDG

From: Daniel Martini <dmartini(at)uni-hohenheim(dot)de>
To: Rey Arqueza <rey(at)rey(dot)bz>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: /usr/sbin/useradd is needed by postgresql-server-8.0.1-PGDG
Date: 2005-02-14 09:56:26
Message-ID: 1108374986.421075cab8cea@webmail.uni-hohenheim.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Citing Rey Arqueza <rey(at)rey(dot)bz>:
> after running: rpm -i ./postgresql-server-8.0.1-1PGDG.i686.rpm, I get the
> following error:
>
> error: Failed dependencies:
> /usr/sbin/useradd is needed by postgresql-server-8.0.1-PGDG
>
> I would guess that /usr/sbin needs to be in my path? if I guessed correctly,
> how do I do that?

If you're using a Bourne shell/Korn shell derivative (bash, ksh...):
export PATH=$PATH:/usr/sbin

If you're using a C-Shell derivative (csh, tcsh...):
setenv PATH $PATH':/usr/sbin'

> If this is not the case, then what could possibly cause
> this error message?

Does /usr/sbin/useradd exist? If not, you could be missing the rpm which
contains it.

Regards,
Daniel

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Harald Fuchs 2005-02-14 10:40:40 Re: Understanding EXPLAIN ANALYZE output
Previous Message Rey Arqueza 2005-02-14 09:31:31 /usr/sbin/useradd is needed by postgresql-server-8.0.1-PGDG