Re: Can't uninstall rpm package.

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: vjoshi(at)zetainteractive(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Can't uninstall rpm package.
Date: 2015-02-06 20:41:09
Message-ID: 1423255269.11810.7.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

Run these:

touch /etc/init.d/postgresql-9.3
yum remove postgresql93-server

Regards, Devrim

On Sat, 2015-02-07 at 01:30 +0530, Vivekanand Joshi wrote:
> Hi Everyone,
>
> I was trying to install and uninstall postgres 9.3. After performing a
> variety of steps, I found that I have deleted something manually and now I
> am not been able to proceed further.
>
> What I am trying to achieve here is to remove all the traces of postgres .
> I am not able to remove *postgresql93-server-9.3.6-1PGDG.rhel5* package.
>
> I am getting the following error:
>
> ===============================================
>
>
> [root(at)ZetaSearch01 ~]# rpm -qa | grep postg
> postgresql93-server-9.3.6-1PGDG.rhel5
> [root(at)ZetaSearch01 ~]# yum remove postgresql93-server-9.3.6-1PGDG.rhel5
> Loaded plugins: rhnplugin, security
> Setting up Remove Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package postgresql93-server.x86_64 0:9.3.6-1PGDG.rhel5 set to be erased
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
> ========================================================================================================================================================================
> Package
> Arch
> Version
> Repository Size
> ========================================================================================================================================================================
> Removing:
> postgresql93-server
> x86_64
> 9.3.6-1PGDG.rhel5
> installed 15 M
>
> Transaction Summary
> ========================================================================================================================================================================
> Install 0 Package(s)
> Update 0 Package(s)
> Remove 1 Package(s)
>
> Is this ok [y/N]: y
> Downloading Packages:
> Running rpm_check_debug
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
> error reading information on service postgresql-9.3: No such file or
> directory
>
> Removed: postgresql93-server.x86_64 0:9.3.6-1PGDG.rhel5
> Complete!
> [root(at)ZetaSearch01 ~]# rpm -qa | grep postg
> postgresql93-server-9.3.6-1PGDG.rhel5
> [root(at)ZetaSearch01 ~]#
>
>
> ===============================================
>
> How to solve this error?
>
> Any help would be appreciated as I am totally novice to postgres and it is
> my first time, I am trying to do something on postgres.
>
>
> Warm Regards,
>
> Vivekanand Joshi
> +919654227927
>
> [image: Zeta Interactive]
>
> 185 Madison Ave. New York, NY 10016
>
> www.zetainteractive.com
>
> *Coming together is a beginning. Keeping together is progress. Working
> together is** success -- Henry Ford*

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jerry Sievers 2015-02-06 21:12:28 Re: Hourly backup using pg_basebackup
Previous Message John Scalia 2015-02-06 20:06:10 Re: Can't uninstall rpm package.