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

From: "Rey Arqueza" <rey(at)rey(dot)bz>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: /usr/sbin/useradd is needed by postgresql-server-8.0.1-PGDG
Date: 2005-02-15 07:21:36
Message-ID: 003101c5132e$fd18ee20$0200a8c0@BAHAMOUTO
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have added /usr/sbin to my path (bash) and /usr/sbin/useradd does exist
(and the command works when I type the command from any directory).

However I still get the same error when running rpm -i ..etc.

I don't remember having issues like this with the PostgreSQL 7.x rpm's..
Maybe because I used the PostgreSQL rpms that were built into the distro I
used instead of latest bleeding edge releases of PostgreSQL.

Anyway, here is what I did in the following order
1. rpm -i postgresql-libs-8.0.1-1PGDG.i686.rpm
2. rpm -i postgresql-8.0.1-1PGDG.i686.RPM
3. rpm -i postgresql-server-8.0.1-1PGDG.i686.rpm

Just curious why there isn't a single install rpm that does all of the above
(libs, client, server) ?

----- Original Message -----
From: "Daniel Martini" <dmartini(at)uni-hohenheim(dot)de>
To: "Rey Arqueza" <rey(at)rey(dot)bz>
Cc: <pgsql-general(at)postgresql(dot)org>
Sent: Monday, February 14, 2005 1:56 AM
Subject: Re: [GENERAL] /usr/sbin/useradd is needed by
postgresql-server-8.0.1-PGDG

> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rey Arqueza 2005-02-15 09:42:03 Re: /usr/sbin/useradd is needed by postgresql-server-8.0.1-PGDG
Previous Message Jeff Davis 2005-02-15 06:15:14 Re: random record from small set