Re: How to remove old pg RPMs? - Mailing list pgsql-novice

From Josh Trutwin
Subject Re: How to remove old pg RPMs?
Date
Msg-id 39368.207.109.1.73.1045500624.squirrel@trutwins.homeip.net
Whole thread Raw
In response to How to remove old pg RPMs?  ("Patrick Hatcher" <PHatcher@macys.com>)
List pgsql-novice
> I'm not very well versed in Linux command line.  How do I remove Pg
> 7.2.2 that I installed via RH 8 RPMs so that I can install Pg 7.3.2?  I
> tried installing using rpm -Uvh, believing I could just update.
> However, I got all sorts of error messages.  I figured I would try
> uninstalling the old version first.

try:

rpm -qa | grep -i postgres

This will list all the postgres RPM's installed on your system.

Then to uninstall:

rpm -e whatever.rpm

(replacing whatever.rpm with the files from the previous cmd, you can list
multiple RPM files)

I usually install from source, so I'm not sure if anything on your system
depends on Postgres being installed...

Josh



pgsql-novice by date:

Previous
From: "Patrick Hatcher"
Date:
Subject: How to remove old pg RPMs?
Next
From: Bruno Wolff III
Date:
Subject: Re: MySQL comparable syntax for PostgreSQL