Jeff Noxon wrote: >On Sat, Jun 27, 1998 at 11:14:19AM +0200, Networking Wizard wrote: >> After Shared PostgreSQL library intsallation (libpgsql 6.3.2-8) >> i've been trying to inttall postgresql (6.3.2-8) severl times, >> but i did not succeed; dpkg terminates because of unspecified errors. >> Here is the log: >> >> > Unpacking replacement postgresql ... >> > Setting up postgresql (6.3.2-8) ... >> > Now installing the PostgreSQL database files in /var/postgres/data >> > su - postgres -c PATH=/usr/uxs:/root/uxs:/root/bin:/sbin:/usr/sbin:/usr/ >local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/lib/postgres >ql/bin:/usr/lib/postgresql/bin; initdb -l /usr/lib/postgresql/lib -r /va >r/postgres/data -u postgres >> > dpkg: error processing postgresql (--install): > >[snip] > >I think the bug is in base-passwd. > >You need to edit /etc/passwd so that the shell is /bin/sh or similar. I >filed a bug report on base-passwd about this.
The bug is not in base-passwd but in postgresql. I used adduser to create the account if it did't exist, but I had not noticed that `adduser --system' assigns /bin/false as the shell. I have changed postgresql-6.3.2-11 to use useradd instead. This is bug#24036. -- Oliver Elphick [EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 ======================================== "For I am not ashamed of the gospel of Christ; for it is the power of God unto salvation to every one that believeth; to the Jew first, and also to the Greek." Romans 1:16 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]