pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: robert rottermann <robert@redcor.ch>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Cc: robert rottermann <robert@redcor.ch>
Subject: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it
Date: Sat, 23 Jan 2021 21:36:32 +0100
Message-ID: <82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch> (raw)

Hi there

I made somehow a mess with my PostgreSQL installation an an ubuntu 18.4 with 
PostgreSQL 10.0

service postgresql status
● postgresql.service - PostgreSQL RDBMS
    Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor 
preset: enabled)
    Active: active (exited) since Sat 2021-01-23 21:21:13 CET; 2min 26s ago
   Process: 1853 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
  Main PID: 1853 (code=exited, status=0/SUCCESS)

I would like to remove everything, and reinstall.

How can I do that?

It seems, that

apt remove --purge postgresql
apt remove --purge postgresql-client

I not enough, as I have the same situation afterwards.

Or is there a way that I can rebuild PostgreSQL datastructure?

thanks

Robert






view thread (9+ messages)  latest in thread

Message-ID: <82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch>
Permalink:  ../82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch/
Also on:    postgresql.org/message-id/82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robert@redcor.ch
  Subject: Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it
  In-Reply-To: <82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch>
  References: <82dcf27f-2399-412c-30e9-c9b6d03f62c9@redcor.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox