Re: uninstalling postgresql 13 on ubuntu 22.04?

From: Ray O'Donnell <ray(at)rodonnell(dot)ie>
To: Richard Welty <rwelty(at)salesium(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: uninstalling postgresql 13 on ubuntu 22.04?
Date: 2024-11-27 22:10:45
Message-ID: 010201936fad4025-074cf372-e97c-4be4-af00-d2e7e340e89b-000000@eu-west-1.amazonses.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 27/11/2024 21:54, Richard Welty wrote:
> i installed pg13 from the postgres repos but am not really using it
> in that form; i'm using docker images instead. i now find i need
> to uninstall it to facilitate upgrading my desktop to ubuntu 24
>
> is apt remove an effective way to uninstall or is there a better method?
>

If  you used "apt install" to install it in the first place, then yes,
"apt remove" is the only way to remove it cleanly.

Note that this won't delete the data directory - you'll need to use the
Debian-specific script pg_dropcluster to do this. Also, I don't think it
removes the config files in /etc/postgresql, though "apt purge" should
do for those.

Ray.

--
Raymond O'Donnell // Galway // Ireland
ray(at)rodonnell(dot)ie

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-11-27 22:51:16 Re: uninstalling postgresql 13 on ubuntu 22.04?
Previous Message Richard Welty 2024-11-27 21:54:04 uninstalling postgresql 13 on ubuntu 22.04?