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? > 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. 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? > 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). > Please consider to correct those Scripts. I can only fix really grave bugs in Sarge, which affect the majority of users. This doesn't seem to be the case here, but let's first find out the actual reason of your breakage. > 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. Thanks for any further information, Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org In a world without walls and fences, who needs Windows and Gates?
signature.asc
Description: Digital signature