I just installed Debian Squeeze to work as a Postgresql server, but when I try to recover a backup something went wrong. After a search, I deleted the cluster (data dir) and uninstalled Postgresql. Afterwards, I was unable to make the server work (install, remove, purge).

What can I do so that `apt-get install postgresql` would behave as if it was a fresh Debian install?