Am 2006-03-26 13:33:26, schrieb Martin Pitt:
> severity 355724 normal
> tag 355724 moreinfo
> thanks Mr. debbugs
>
> Hi Michelle,
>
> sorry for the long delay, I was pretty busy recently, and this bug
> didn't appear as a 'OMG, the sky is falling' one.
>
> Michelle Konzack [2006-03-05 16:32 +0100]:
> > Now since I was using Woody with a 7.4 backport (same as Sarge)
> > the new instalaltion should no be a problem.
>
> Hm, actually not, right.
>
> > After an 'apt-get install postgresql' debconf ask for the PGDATA
> > directory which I answered with:
> > /PostgreSQL
> >
> > Then they ask me for the dump directory which I answered with
> >
> > /PostgreSQL/dump
> >
> > and the third was the
> > /PostgreSQL/preserve
>
> Hm, these questions should only be asked if /PostgreSQL already
> contains a pre-7.4 cluster (e. g. 7.2 from Woody). Was this the case?
Right, it was a 7.2 cluster from Woody.
(First I was thinking it was the new 7.4-backport)
> > Now while continuing the install scripts creat /var/lib/postgres
> > without "data" directory, create the postgres $USER with the same
> > directory and exit with an error because it cannot find the $PGDATA
> > directory.
>
> /var/lib/postgres is the home directory of the 'postgres' system user,
> and since it is commonly used interactively, it needs a place to store
> its .bash_history, environment settings, etc.
I was using libnss-pgsql and libpam-pgsql1 and the home was /PostgreSQL.
> So, I did the following in a clean Sarge installation:
>
> * apt-get install postgresql
>
> -> debconf asked me for the data directory, which I answered with
> /PostgreSQL. Also, I got asked for date format ('US') and whether to
> remove the cluster on package purge ('No').
>
> * dpkg -P postgresql
>
> * apt-get install postgresql
>
> -> I get asked for the data directory (I said /PostgreSQL again),
> then it just creates the missing home dir for postgres and starts the
> old cluster.
>
> So this works like intended for me. Did you do anything different?
If you install from scratch it works for me too.
> > I was allready looking into the install scripts and the do some
> > weired stuff...
>
> Indeed the Sarge scripts were hideous. In case it makes you feel any
> better, the Sid/testing version is *much* cleaner, more robust, and
> easier to understand (it's a complete rewrite).
Since we are in fron of etch release in December, I will use 8.1
immediately (if it will come with Etch)
> > Ans last not least, one of my "locale" is UTF8 and debconf does only
> > let me chose between de_DE and C, but not UTF8.
>
> IIRC this is only asked as a low-priority question. The default
> encoding matches the default system locale.
I know, but I have created the Cluser by hand and setup utf-8 because I
must support any languages...
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]