Skip site navigation (1) Skip section navigation (2)

Re: issue with Postgres uninstallation

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Anuj Pankaj <anujp(at)cybage(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: issue with Postgres uninstallation
Date: 2010-09-17 06:05:12
Message-ID: 4C930518.1090402@2ndquadrant.com (view raw or flat)
Thread:
Lists: pgsql-admin
Scott Marlowe wrote:
> You do not need the packages to uninstall them.  do this:
>
> rpm -qa|grep -i postgres
>
> and see what packages are listed.
>
> Then
>
> rpm -e packagename1 packagename2 ...
>
> to remove them all.
>   

Note that you may have issues removing the compat-postgresql-libs 
packages, as things other than the main database sofware you can have 
installed will rely on those.  Here's what I do to get rid of all the 
rest of them in one easy command:

rpm -qa | egrep "^postgresql" | xargs rpm -e

-- 
Greg Smith, 2ndQuadrant US greg(at)2ndQuadrant(dot)com Baltimore, MD
PostgreSQL Training, Services and Support  www.2ndQuadrant.us
Author, "PostgreSQL 9.0 High Performance"    Pre-ordering at:
https://www.packtpub.com/postgresql-9-0-high-performance/book


In response to

pgsql-admin by date

Next:From: Anuj PankajDate: 2010-09-17 06:08:55
Subject: Re: issue with Postgres uninstallation
Previous:From: Scott MarloweDate: 2010-09-17 05:58:38
Subject: Re: issue with Postgres uninstallation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group