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