after installing postgres using apt-get and adding the repo for 9.4, I have two versions, 9.3 and 9.4 running.

How can I remove 9.3? apt-get purge removes both actually.

Thanks ins advance


Had the same issue. This helped in my case

sudo apt-get remove postgresql-9.3

Then remove clusters with the following command. You may want to back up your data. That wasn't my case.

sudo pg_dropcluster --stop 9.3 main

Restart postgres

sudo service postgresql restart

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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