0

Followed instructions in: postgresql install which ends with the statement:

The database service is automatically configured with viable defaults, but can be customised based on your specific needs.

However it was not at all functional.

tried following several tutorials for example 1 example 2all offering the same thing:

  • configuring repo settings
  • Installing postgresql
  • starting the service
  • enabling the service

All ending with the assumptions that:

  • /etc/postgresql/*/main/postgresql.conf exists
  • postgresql service is up and running

This is not the case /etc/postgresql/ is empty service is doing nothing

In wsl2 Ubuntu: 24.04 Postgresql: 17

Edit: Uninstalled, and re-installed postgresql 16 worked

3
  • 1
    Postgresql-17 is not offered in the standard Ubuntu 24.04 repos. Did you use a PPA to get it? Commented Feb 6, 2025 at 16:28
  • @ubfan1 no PPA (don't know what it is). Installed pgAdmin4, should it make a difference ? It didn't work "out-of-the-box". At one point I purged the packages and re-installed with 17 Commented Feb 9, 2025 at 7:05
  • 1
    You can answer your own question, and after a bit, mark it as "accepted". This helps others and you gain some reputation in the process. Commented Feb 11, 2025 at 4:31

1 Answer 1

0

At the time of the post postgresql-17 was not in the standard ubuntu 24.04 repo as @ubfan1 mentioned

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.