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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

  From Date Subject
Next Message Anuj Pankaj 2010-09-17 06:08:55 Re: issue with Postgres uninstallation
Previous Message Scott Marlowe 2010-09-17 05:58:38 Re: issue with Postgres uninstallation