pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Amn Ojee Uw <amnojeeuw@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Completely Removing PostgreSQL
Date: Mon, 31 Jul 2023 14:52:47 +0200
Message-ID: <20230731125247.puiaz7fjkfvljdwy@alvherre.pgsql> (raw)
In-Reply-To: <f7c53038-7713-94bd-4007-f66a7d97a8ae@gmail.com>

On 2023-Jul-31, Amn Ojee Uw wrote:

> In my Debian 12, I have removed the following apps from my system by using
> the following commands:

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

This is lack of Debian knowledge, not Postgres' fault in any way .  You
just need to "apt purge" these packages, as "rc" status for a package in
apt means "desired state=remove, status=conf-files", ie. the residual is
just the config files that apt doesn't remove in case you want to
reinstall the package later.  You would have seen known this if you had
looked at the dpkg -l header lines:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                          Version                         
...
rc

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/





view thread (4+ messages)  latest in thread

Message-ID: <20230731125247.puiaz7fjkfvljdwy@alvherre.pgsql>
Permalink:  ../20230731125247.puiaz7fjkfvljdwy@alvherre.pgsql/
Also on:    postgresql.org/message-id/20230731125247.puiaz7fjkfvljdwy@alvherre.pgsql

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: alvherre@alvh.no-ip.org, amnojeeuw@gmail.com
  Subject: Re: Completely Removing PostgreSQL
  In-Reply-To: <20230731125247.puiaz7fjkfvljdwy@alvherre.pgsql>
  References: <f7c53038-7713-94bd-4007-f66a7d97a8ae@gmail.com> <20230731125247.puiaz7fjkfvljdwy@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox