Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it

Поиск
Список
Период
Сортировка
От Ron
Тема Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it
Дата
Msg-id 0a5fa995-089a-8f3b-b12b-bcb65c5194b6@gmail.com
обсуждение исходный текст
Ответ на ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it  (robert rottermann <robert@redcor.ch>)
Список pgsql-general
On 1/23/21 2:36 PM, robert rottermann wrote:
> 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)

What's the error?

>
> 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.

What happens after you purge the packages.

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

Yes, but you haven't given us nearly enough information.

-- 
Angular momentum makes the world go 'round.



В списке pgsql-general по дате отправления:

Предыдущее
От: robert rottermann
Дата:
Сообщение: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it