Thread
-
uninstalling postgresql 13 on ubuntu 22.04?
Richard Welty <rwelty@salesium.com> — 2024-11-27T21:54:04Z
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? thanks, richard
-
Re: uninstalling postgresql 13 on ubuntu 22.04?
Ray O'Donnell <ray@rodonnell.ie> — 2024-11-27T22:10:45Z
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@rodonnell.ie
-
Re: uninstalling postgresql 13 on ubuntu 22.04?
Adrian Klaver <adrian.klaver@aklaver.com> — 2024-11-27T22:51:16Z
On 11/27/24 13: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 Not really. Per here: https://www.postgresql.org/download/linux/ubuntu/ Ubuntu 24 is supported, You would just have to change the repo to: ... noble-pgdg ... > > is apt remove an effective way to uninstall or is there a better method? Otherwise follow Raymond O'Donnell's suggestions to uninstall/purge. > > thanks, > richard > -- Adrian Klaver adrian.klaver@aklaver.com
-
Re: uninstalling postgresql 13 on ubuntu 22.04?
Rob Sargent <robjsargent@gmail.com> — 2024-11-28T01:13:00Z
> On Nov 27, 2024, at 3:51 PM, Adrian Klaver <adrian.klaver@aklaver.com> wrote: > > On 11/27/24 13: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 > > Not really. Per here: > > https://www.postgresql.org/download/linux/ubuntu/ > > Ubuntu 24 is supported, You would just have to change the repo to: > > ... noble-pgdg ... > >> is apt remove an effective way to uninstall or is there a better method? > > Otherwise follow Raymond O'Donnell's suggestions to uninstall/purge. > >> thanks, >> richard > > -- > Adrian Klaver > adrian.klaver@aklaver.com > > Or rethink that docker choice... >