postgresql problem in woody and sid
I cannot get postgresql to install :
Here is the error message:
Now installing the PostgreSQL database files in /var/lib/postgres/data
su - postgres -c cd /var/lib/postgres; . ./.bash_profile; LANG=C initdb
--encoding UNICODE --pgdata /var/lib/postgres/data
-su: initdb: command not found
dpkg: error processing postgresql (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
I played around with the .profile and .bash_profile in /var/lib/postgres
which were both not exporting the PATH but this did not help.
any help is appreciated.
--Marco
Reply to: