1

Remove a non existing postgres cluster

view story
linux-howto

http://serverfault.com – I have a postgres 8.4 install on ubuntu 10.04. I created a cluster on a disk that is not mountable anymore. Now I want to remove postgres but when I do apt-get remove postgresql-8.4 I get: dpkg: error processing postgresql-8.4 (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: postgresql-8.4 And when I do a apt-get upgrade is says: Selecting previously deselected package postgresql-8.4. Preparing to replace postgresql-8.4 8.4.9-0ubuntu0.10.04 (using .../postgresql-8.4_8.4.14-0ubuntu10. (HowTos)