public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ray O'Donnell <[email protected]>
To: Richard Welty <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: uninstalling postgresql 13 on ubuntu 22.04?
Date: Wed, 27 Nov 2024 22:10:45 +0000
Message-ID: <010201936fad4025-074cf372-e97c-4be4-af00-d2e7e340e89b-000000@eu-west-1.amazonses.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
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
[email protected]
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: uninstalling postgresql 13 on ubuntu 22.04?
In-Reply-To: <010201936fad4025-074cf372-e97c-4be4-af00-d2e7e340e89b-000000@eu-west-1.amazonses.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox