0

After upgrading Ubuntu to version 9.10 and removing postgresql 8.3, I ran apt-get install postgresql-8.4 getting the following messages:

Setting up postgresql-8.4 (8.4.2-0ubuntu9.10) ...
Configuring already existing cluster (configuration: /etc/postgresql/8.4/main, data: /var/lib/postgresql/8.4/main, owner: 115:128)
Error: move_conffile: required configuration file /var/lib/postgresql/8.4/main/postgresql.conf does not exist
Error: could not create default cluster. Please create it manually with

pg_createcluster 8.4 main --start

When running that command I get the error:

Configuring already existing cluster (configuration: /etc/postgresql/8.4/main, data: /var/lib/postgresql/8.4/main, owner: 115:128)
Error: move_conffile: required configuration file /var/lib/postgresql/8.4/main/postgresql.conf does not exist

The output of dpkg -l | grep postgresql is

ii  postgresql-8.4             8.4.2-0ubuntu9.10    object-relational SQL database, version 8.4 

ii  postgresql-client-8.4      8.4.2-0ubuntu9.10    front-end programs for PostgreSQL 8.4

ii  postgresql-client-common   101                  manager for multiple PostgreSQL client versi

ii  postgresql-common          101                  PostgreSQL database-cluster manager
1

Solved, followed this link https://bugs.launchpad.net/ubuntu/+source/postgresql-8.3/+bug/235379 answer #15 and it started

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.