Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where can I find the original postgresql 8.4 config files for ubuntu (/etc/postgresql/8.4/main/*)?

Upgraded ubuntu to version 9.10. which included upgrading postgresql from 8.3 to 8.4

dir with config files is empty (/etc/postgresql/8.4/main/)

Completely removed and then reinstalled all ubuntu postgres packages (server, client, admin), but that didn't reinstall/populate the config files.


share|improve this question
up vote 0 down vote accepted

Apparently you didn't completely remove the packages, or the configs would have been restored. Make sure you remove the common package as well, as well as using the --purge option to aptitude.

share|improve this answer
womble: thanks, this worked. Although I did not specified it above I had also removed/reinstalled the common pkgs. The --purge must have done it since I had not used that option before. – jd. Nov 29 '09 at 0:18
waiting for enough reputation to be able to "uptick" (this was my first question) – jd. Nov 29 '09 at 0:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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