pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedissue with Postgres uninstallation
9+ messages / 5 participants
[nested] [flat]
* issue with Postgres uninstallation
@ 2010-09-15 09:39 Anuj Pankaj <anujp@cybage.com>
0 siblings, 2 replies; 9+ messages in thread
From: Anuj Pankaj @ 2010-09-15 09:39 UTC (permalink / raw)
To: pgsql-admin
Hi,
I have Postgres 8.1.4 installation and now I want to uninstall.
I have run the command rm -r <postgres packages>(all).
Here I am unable to rum rpm -e <package name> to uninstall the postgres
8.1.4.
Can you please help me to clean the installed Postgres
environment(Uninstall).
Thanks & Regards,
Anuj Pankaj
"Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment."
www.cybage.com
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: issue with Postgres uninstallation
@ 2010-09-15 13:35 Tom Lane <tgl@sss.pgh.pa.us>
parent: Anuj Pankaj <anujp@cybage.com>
1 sibling, 1 reply; 9+ messages in thread
From: Tom Lane @ 2010-09-15 13:35 UTC (permalink / raw)
To: Anuj Pankaj <anujp@cybage.com>; +Cc: pgsql-admin
Anuj Pankaj <anujp@cybage.com> writes:
> I have Postgres 8.1.4 installation and now I want to uninstall.
> I have run the command rm -r <postgres packages>(all).
Er, "rm" not "rpm"? Exactly what files did you delete here?
> Here I am unable to rum rpm -e <package name> to uninstall the postgres
> 8.1.4.
What does "unable" mean --- what command did you give exactly, and what
error message did you get?
regards, tom lane
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: issue with Postgres uninstallation
@ 2010-09-15 13:53 Devrim GÜNDÜZ <devrim@gunduz.org>
parent: Anuj Pankaj <anujp@cybage.com>
1 sibling, 0 replies; 9+ messages in thread
From: Devrim GÜNDÜZ @ 2010-09-15 13:53 UTC (permalink / raw)
To: Anuj Pankaj <anujp@cybage.com>; +Cc: pgsql-admin
On Wed, 2010-09-15 at 15:09 +0530, Anuj Pankaj wrote:
>
> Here I am unable to rum rpm -e <package name> to uninstall the
> postgres
> 8.1.4.
What is the error message that you are getting?
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
Attachments:
signature.asc (application/pgp-signature, 197B) download
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: issue with Postgres uninstallation
@ 2010-09-16 05:10 Anuj Pankaj <anujp@cybage.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 9+ messages in thread
From: Anuj Pankaj @ 2010-09-16 05:10 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; Devrim GÜNDÜZ <devrim@gunduz.org>; +Cc: pgsql-admin
To install Postgres I created a folder Postgres and I kept all packages and I installed Postgres from these packages.
To Uninstall Me suppose, I have to run rpm -e <each packages name>. Here mistakenly I removed all packages.I
I am still able to login in Postgres. Please help me to uninstall Postgres completely so that I cannot login again and
I have to install again to login in Postgres.
I am not getting any exception; I just want to uninstall Postgres.
Regards,
Anuj Pankaj
Phone(O): 91-20-66041700, Ext.6477
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Wednesday, September 15, 2010 7:05 PM
To: Anuj Pankaj
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] issue with Postgres uninstallation
Anuj Pankaj <anujp@cybage.com> writes:
> I have Postgres 8.1.4 installation and now I want to uninstall.
> I have run the command rm -r <postgres packages>(all).
Er, "rm" not "rpm"? Exactly what files did you delete here?
> Here I am unable to rum rpm -e <package name> to uninstall the postgres
> 8.1.4.
What does "unable" mean --- what command did you give exactly, and what
error message did you get?
regards, tom lane
"Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment."
www.cybage.com
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: issue with Postgres uninstallation
@ 2010-09-16 14:46 Tom Lane <tgl@sss.pgh.pa.us>
parent: Anuj Pankaj <anujp@cybage.com>
0 siblings, 1 reply; 9+ messages in thread
From: Tom Lane @ 2010-09-16 14:46 UTC (permalink / raw)
To: Anuj Pankaj <anujp@cybage.com>; +Cc: Devrim GÜNDÜZ <devrim@gunduz.org>; pgsql-admin
Anuj Pankaj <anujp@cybage.com> writes:
> To install Postgres I created a folder Postgres and I kept all packages and I installed Postgres from these packages.
> To Uninstall Me suppose, I have to run rpm -e <each packages name>. Here mistakenly I removed all packages.I
I rather doubt that rpm would have let you remove "all" packages, and
if it did you wouldn't have a functioning system at all. Please answer
the question specifically rather than handwaving.
> I am still able to login in Postgres.
Seems likely that you didn't actually remove Postgres.
In particular, successfully removing postgresql-server
would certainly have stopped the service.
regards, tom lane
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: issue with Postgres uninstallation
@ 2010-09-17 04:54 Anuj Pankaj <anujp@cybage.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 9+ messages in thread
From: Anuj Pankaj @ 2010-09-17 04:54 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Devrim GÜNDÜZ <devrim@gunduz.org>; pgsql-admin
Can you help let me how to uninstall postgres, if I do not have packages at Linux box.
Regards,
Anuj Pankaj
Phone(O): 91-20-66041700, Ext.6477
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, September 16, 2010 8:16 PM
To: Anuj Pankaj
Cc: Devrim GÜNDÜZ; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] issue with Postgres uninstallation
Anuj Pankaj <anujp@cybage.com> writes:
> To install Postgres I created a folder Postgres and I kept all packages and I installed Postgres from these packages.
> To Uninstall Me suppose, I have to run rpm -e <each packages name>. Here mistakenly I removed all packages.I
I rather doubt that rpm would have let you remove "all" packages, and
if it did you wouldn't have a functioning system at all. Please answer
the question specifically rather than handwaving.
> I am still able to login in Postgres.
Seems likely that you didn't actually remove Postgres.
In particular, successfully removing postgresql-server
would certainly have stopped the service.
regards, tom lane
"Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment."
www.cybage.com
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: issue with Postgres uninstallation
@ 2010-09-17 05:58 Scott Marlowe <scott.marlowe@gmail.com>
parent: Anuj Pankaj <anujp@cybage.com>
0 siblings, 2 replies; 9+ messages in thread
From: Scott Marlowe @ 2010-09-17 05:58 UTC (permalink / raw)
To: Anuj Pankaj <anujp@cybage.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Devrim GÜNDÜZ <devrim@gunduz.org>; pgsql-admin
2010/9/16 Anuj Pankaj <anujp@cybage.com>:
> Can you help let me how to uninstall postgres, if I do not have packages at Linux box.
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.
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: issue with Postgres uninstallation
@ 2010-09-17 06:05 Greg Smith <greg@2ndquadrant.com>
parent: Scott Marlowe <scott.marlowe@gmail.com>
1 sibling, 0 replies; 9+ messages in thread
From: Greg Smith @ 2010-09-17 06:05 UTC (permalink / raw)
To: Scott Marlowe <scott.marlowe@gmail.com>; +Cc: Anuj Pankaj <anujp@cybage.com>; Tom Lane <tgl@sss.pgh.pa.us>; Devrim GÜNDÜZ <devrim@gunduz.org>; 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@2ndQuadrant.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
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: issue with Postgres uninstallation
@ 2010-09-17 06:08 Anuj Pankaj <anujp@cybage.com>
parent: Scott Marlowe <scott.marlowe@gmail.com>
1 sibling, 0 replies; 9+ messages in thread
From: Anuj Pankaj @ 2010-09-17 06:08 UTC (permalink / raw)
To: Scott Marlowe <scott.marlowe@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Devrim GÜNDÜZ <devrim@gunduz.org>; pgsql-admin
Thanks, It worked for me.
Regards,
Anuj Pankaj
Phone(O): 91-20-66041700, Ext.6477
-----Original Message-----
From: Scott Marlowe [mailto:scott.marlowe@gmail.com]
Sent: Friday, September 17, 2010 11:29 AM
To: Anuj Pankaj
Cc: Tom Lane; Devrim GÜNDÜZ; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] issue with Postgres uninstallation
2010/9/16 Anuj Pankaj <anujp@cybage.com>:
> Can you help let me how to uninstall postgres, if I do not have packages at Linux box.
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.
"Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment."
www.cybage.com
^ permalink raw reply [nested|flat] 9+ messages in thread
end of thread, other threads:[~2010-09-17 06:08 UTC | newest]
Thread overview: 9+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15 09:39 issue with Postgres uninstallation Anuj Pankaj <anujp@cybage.com>
2010-09-15 13:35 ` Tom Lane <tgl@sss.pgh.pa.us>
2010-09-16 05:10 ` Anuj Pankaj <anujp@cybage.com>
2010-09-16 14:46 ` Tom Lane <tgl@sss.pgh.pa.us>
2010-09-17 04:54 ` Anuj Pankaj <anujp@cybage.com>
2010-09-17 05:58 ` Scott Marlowe <scott.marlowe@gmail.com>
2010-09-17 06:05 ` Greg Smith <greg@2ndquadrant.com>
2010-09-17 06:08 ` Anuj Pankaj <anujp@cybage.com>
2010-09-15 13:53 ` Devrim GÜNDÜZ <devrim@gunduz.org>
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