Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qQSPN-00Dy8e-Bd for pgsql-general@arkaria.postgresql.org; Mon, 31 Jul 2023 12:53:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qQSOM-0006uo-0G for pgsql-general@arkaria.postgresql.org; Mon, 31 Jul 2023 12:52:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qQSOL-0006uf-0N for pgsql-general@lists.postgresql.org; Mon, 31 Jul 2023 12:52:55 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qQSOI-002a9p-UC for pgsql-general@lists.postgresql.org; Mon, 31 Jul 2023 12:52:53 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C10445C00DA; Mon, 31 Jul 2023 08:52:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 31 Jul 2023 08:52:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1690807969; x= 1690894369; bh=x8Zg8ayG4s+knUEW5UF1NGSlVNYH2HqTbgnniUk+KKY=; b=1 tXYpVsllWZCPrgvP0hMgZwA8kWwWVBkXvBE43lziOe/URBc+y/NscPYarkLCbaZ/ wFj2flOhx11qUZKxtOrfRvvotz9cSPQIuUFFR5Bjd3WiwvX2opePOF/PIREFs45g m2KDUvgIE+qo/jRWWuNL4V3O65g4LwuXo/0I1IMru0grvY5866w4fngpyZsMxQy2 DnP41DSV6m5D+gVPV/j7+vDJraTKOB16j9EKgbAtsaOSFJFFBxf2OTItosS4CFiH 2t/pcjj47i8z09QhrvaEChgfRQ0pmjPTIhYLSTeaSHPpsC+7UAr0cseMSfGYsztq gQ6X38CNt8oyfizYsR1Ig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrjeeggdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvfevuffkgggtugfgjgesthekre dttddtjeenucfhrhhomheptehlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgv segrlhhvhhdrnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepvdektdffudfftd ffffehfffhjeejhffgieeuueekjeekfffgudffhfduffffueevnecuffhomhgrihhnpegv nhhtvghrphhrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 31 Jul 2023 08:52:49 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 52A099D; Mon, 31 Jul 2023 14:52:47 +0200 (CEST) Date: Mon, 31 Jul 2023 14:52:47 +0200 From: Alvaro Herrera To: Amn Ojee Uw Cc: pgsql-general@lists.postgresql.org Subject: Re: Completely Removing PostgreSQL Message-ID: <20230731125247.puiaz7fjkfvljdwy@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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/