Ok.. thanks. ...seconds later... It worked! hmm.. strange... why is that? is this a bug for the rpm installer? If so, here's my distro: Fedora Core 2 maybe the rpm has issues with this distro? ----- Original Message ----- From: "Uwe C. Schroeder" <uwe@xxxxxxxxx> To: "Rey Arqueza" <rey@xxxxxx> Sent: Monday, February 14, 2005 11:43 PM Subject: Re: /usr/sbin/useradd is needed by postgresql-server-8.0.1-PGDG > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > maybe you try a --nodeps parameter to your rpm call. If the useradd command is > around and in your path the remainder of the installation should succeed. > > > On Monday 14 February 2005 11:21 pm, Rey Arqueza wrote: > > 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@xxxxxxxxxxxxxxxx> > > To: "Rey Arqueza" <rey@xxxxxx> > > Cc: <pgsql-general@xxxxxxxxxxxxxx> > > Sent: Monday, February 14, 2005 1:56 AM > > Subject: Re: /usr/sbin/useradd is needed by > > postgresql-server-8.0.1-PGDG > > > > > Hi, > > > > > > Citing Rey Arqueza <rey@xxxxxx>: > > > > 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 > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 7: don't forget to increase your free space map settings > > - -- > UC > > - -- > Open Source Solutions 4U, LLC 2570 Fleetwood Drive > Phone: +1 650 872 2425 San Bruno, CA 94066 > Cell: +1 650 302 2405 United States > Fax: +1 650 872 2417 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > > iD8DBQFCEagtjqGXBvRToM4RAg66AJ9umUkrcK+4FyiKPVaBSZCP5C15FwCfaIqV > ncHtrEzNZ8fqdB5/ey8bxXY= > =zY5m > -----END PGP SIGNATURE----- > > ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings