Как мне полностью удалить postgres и переустановить его. Я пытался:
sudo apt-get --purge remove postgresql postgresql-doc postgresql-common
Но я получил:
Package postgresql is not installed, so not removed
Package postgresql-doc is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
postgresql-client-8.4 : Depends: postgresql-client-common (>= 104~) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Мне не нужно было переустанавливать, мне просто нужно было apt-get -f install
установить обычные инструменты клиента.