hi all, I removed a postgresql package using #apt-get remove postgresql but it didnot remove all the files. I want to change the data directory location during installation. but now it does not ask me where it should install the database but installs it in the same place as before.
Did you try apt-get remove --purge postgresql ?