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