Re: Completely Removing PostgreSQL

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Completely Removing PostgreSQL
Date: 2023-07-31 13:32:43
Message-ID: ecc9b4f5-eadf-a32e-d545-675ee988b22f@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/31/23 07:47, Amn Ojee Uw wrote:
>
> In my Debian 12, I have removed the following apps from my system by using
> the following commands:
>
> /*sudo apt-*//*get*//*–purge *//*remove*//*postgresql postgresql*//*-15*//*postgresql-client-common postgresql-common postgresql-contrib*//**//*sudo apt-*//*get*//*–purge *//*remove*//*postgresql postgresql*//*-12*//*postgresql-client-common postgresql-common postgresql-contrib*/
>
> and then used*sudo**apt autoremove* to remove whatever was left dangling
> there. However, after using *dpkg -l | grep postgres* command, I get this?
>
> *dpkg -l | grep postgres*
> rc  postgresql-12 12.15-1.pgdg120+1                  amd64        The
> World's Most Advanced Open Source Relational Database
> rc  postgresql-15 15.3-1.pgdg120+1                   amd64        The
> World's Most Advanced Open Source Relational Database
> rc  postgresql-client-common 250.pgdg120+1                     
> all          manager for multiple PostgreSQL client versions
> rc  postgresql-common 250.pgdg120+1                      all         
> PostgreSQL database-cluster manager
> rc  postgresql-pljava-common 1.6.4-2.pgdg120+1                 
> all          Java procedural language for PostgreSQL, config files
>
> -----------------------------
>
> The above clearly shows that *dpkg*, and therefore my Debian 12, still
> recognize the existence of these packages. When trying to remove them *apt
> remove,* it fails to find them.
>
> How can I completely remove PostgreSQL-xx.xx from my system?
>
>

https://askubuntu.com/a/18807/69438

Only the config files are left.

--
Born in Arizona, moved to Babylonia.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2023-07-31 14:27:32 Re: Completely Removing PostgreSQL
Previous Message Alvaro Herrera 2023-07-31 12:52:47 Re: Completely Removing PostgreSQL