LEAP 42.3 PostgreSQL reinstall

You may have a running postgresql instance.
Try running the following, followed by trying to remove again. If the following doesn’t work, you may have to try to kill the process.

systemctl stop 'postgresql*'

TSU

Apologies for taking a while to respond as I went to repartition the whole hard disk and need some time to re set the hardware settings. I suppose that there will be no remnants of the previous failed installation…

sudo zypper in postgresql

If I execute the above, does it mean I will be downloading the latest postgresql version? Based on postgresql.org, the latest version is 10.3…not that I really need the latest version but since it is out…

The current default postgreql for LEAP appears to be 9.6.
If you wish to install 10.3, you can either add the postgresql repository or more dimply use the one-click install (recommend the “experimental” repo which will configure the community repo… I never noticed that before, but we seem to now call community repos “experimental” and “community” repos are individual private repos… That should change…)

https://software.opensuse.org/package/postgresql10

TSU

Hi Tsu,

Don’t think the 10.3 Postgresql version for Leap 42.3 is out yet…I guess I will just use 9.6. Thanks so much again!

See my last post… or view the screenshot below.
Note the URL of the webpage.
The One-click install for LEAP 42.3 and PostgreSQL 10.3 is on the page.

Hi Tsu,

My oversight, I didn’t realise I need to click on the “show experimental packages”. I thought it is like the Tumbleweed and the Leap 15.0 version which is listed on the page by default. Saw the links now.