I'm trying to install PostgreSQL 9.1 on a Debian Squeeze server using Backports, but after installation I don't have the /etc/postgresql folder, instead I've got a /etc/postgresql-common folder.
Is there something I'm doing wrong? According to the Debian Wiki I should have a /etc/postgresql/9.1/ folder.
Best Answer
I know this issue is quite old, but I just stumbled over the same Problem.
Just having a closer look on the output of
apt-get install postgresql
I noticed the output first states that something is wrong with my locale settings and in the end reports, the cluster could not be created:To finally solve the issue it helps to (re-)install the locales and reset the locale configuration. For me (using a debian 7.8 system) this was done by:
or
if it was installed, yet.
Finally reinstall the whole postgresql server system. For me this was
I hope this will help someone in the future to figure it out faster than I did :-)