Fresh Install on Kali Linux Fails (User / Postgresql issue)

I just went through the installation again using the current apt repository configuration files. I still received the same postgresql 14 error that I’ve been seeing for the last month. I performed the following set of commands and was able to get a complete install that generates a password for the admin account.

sudo apt update
sudo apt upgrade
#this will get the system updated with Postgresql 14 however there will also be the 13 version left so it needs to be removed and then modified to use port 5432
sudo pg_dropcluster --stop 13 main
sudo pg_ctlcluster 14 main stop
sudo pg_conftool show all
sudo pg_conftool 14 main set port 5432
sudo pg_ctlcluster 14 main start
sudo pg_lsclusters #just checking to see the 14 cluster is running on port 5432
sudo gvm-setup

All went well from there on…

2 Likes