pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Can't uninstall rpm package.
5+ messages / 4 participants
[nested] [flat]

* Can't uninstall rpm package.
@ 2015-02-06 20:00  Vivekanand Joshi <vjoshi@zetainteractive.com>
  0 siblings, 3 replies; 5+ messages in thread

From: Vivekanand Joshi @ 2015-02-06 20:00 UTC (permalink / raw)
  To: pgsql-admin

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@ZetaSearch01 ~]# rpm -qa | grep postg
postgresql93-server-9.3.6-1PGDG.rhel5
[root@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@ZetaSearch01 ~]# rpm -qa | grep postg
postgresql93-server-9.3.6-1PGDG.rhel5
[root@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*

Attachments:

image001.jpg (image/jpeg, 3.5K) download view image
^ permalink raw reply [nested|flat] 5+ messages in thread

* Re: Can't uninstall rpm package.
@ 2015-02-06 20:06  John Scalia <jayknowsunix@gmail.com>
  parent: Vivekanand Joshi <vjoshi@zetainteractive.com>
  2 siblings, 0 replies; 5+ messages in thread

From: John Scalia @ 2015-02-06 20:06 UTC (permalink / raw)
  To: vjoshi@zetainteractive.com; pgsql-admin


On 2/6/2015 3:00 PM, 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@ZetaSearch01 ~]# rpm -qa | grep postg
> postgresql93-server-9.3.6-1PGDG.rhel5
> [root@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@ZetaSearch01 ~]# rpm -qa | grep postg
> postgresql93-server-9.3.6-1PGDG.rhel5
> [root@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.
>
If yum is not reporting the package any longer, have you just tried to remove it using rpm?
>
> Warm Regards,
>
> Vivekanand Joshi
> +919654227927
>
> Zeta Interactive
>
> 185 Madison Ave. New York, NY 10016
>
> www.zetainteractive.com <http://www.zetainteractive.com/;
>
> *
> *
> *Coming together is a beginning. Keeping together is progress. Working together is** success -- Henry Ford*

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Can't uninstall rpm package.
@ 2015-02-06 20:41  Devrim Gündüz <devrim@gunduz.org>
  parent: Vivekanand Joshi <vjoshi@zetainteractive.com>
  2 siblings, 0 replies; 5+ messages in thread

From: Devrim Gündüz @ 2015-02-06 20:41 UTC (permalink / raw)
  To: vjoshi@zetainteractive.com; +Cc: 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@ZetaSearch01 ~]# rpm -qa | grep postg
> postgresql93-server-9.3.6-1PGDG.rhel5
> [root@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@ZetaSearch01 ~]# rpm -qa | grep postg
> postgresql93-server-9.3.6-1PGDG.rhel5
> [root@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

Attachments:

  signature.asc (application/pgp-signature, 818B) download

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Can't uninstall rpm package.
@ 2015-02-09 08:52  Shreeyansh Dba <shreeyansh2014@gmail.com>
  parent: Vivekanand Joshi <vjoshi@zetainteractive.com>
  2 siblings, 1 reply; 5+ messages in thread

From: Shreeyansh Dba @ 2015-02-09 08:52 UTC (permalink / raw)
  To: vjoshi@zetainteractive.com; +Cc: pgsql-admin

Hi,
I think you should try
yum erase postgresql93-server-9.3.6-1PGDG.rhel5

or if this is not working then you can go to the location of it and remove
it manually.
check the location using
which postgresql93-server-9.3.6-1PGDG.rhel5
you will get the location generally it is "/usr/bin/"
then remove it using rm.
Check it and tell me if the problem is still present.

Regards
Ajinkya Bangale
Database Administrator
www.shreeyansh.com

On Sat, Feb 7, 2015 at 1:30 AM, Vivekanand Joshi <vjoshi@zetainteractive.com
> 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@ZetaSearch01 ~]# rpm -qa | grep postg
> postgresql93-server-9.3.6-1PGDG.rhel5
> [root@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@ZetaSearch01 ~]# rpm -qa | grep postg
> postgresql93-server-9.3.6-1PGDG.rhel5
> [root@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*
>

Attachments:

image001.jpg (image/jpeg, 3.5K) download view image
^ permalink raw reply [nested|flat] 5+ messages in thread

* Re: Can't uninstall rpm package.
@ 2015-02-09 09:01  Shreeyansh Dba <shreeyansh2014@gmail.com>
  parent: Shreeyansh Dba <shreeyansh2014@gmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Shreeyansh Dba @ 2015-02-09 09:01 UTC (permalink / raw)
  To: vjoshi@zetainteractive.com; +Cc: pgsql-admin

On Mon, Feb 9, 2015 at 2:22 PM, Shreeyansh Dba <shreeyansh2014@gmail.com>
wrote:

> Hi,
> I think you should try
> yum erase postgresql93-server-9.3.6-1PGDG.rhel5
>
> or if this is not working then you can go to the location of it and remove
> it manually.
> check the location using
> which postgresql93-server-9.3.6-1PGDG.rhel5
> you will get the location generally it is "/usr/bin/"
> then remove it using rm.
> Check it and tell me if the problem is still present.
>
> Regards
> Ajinkya Bangale
> Database Administrator
> www.shreeyansh.com
>
> On Sat, Feb 7, 2015 at 1:30 AM, Vivekanand Joshi <
> vjoshi@zetainteractive.com> 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@ZetaSearch01 ~]# rpm -qa | grep postg
>> postgresql93-server-9.3.6-1PGDG.rhel5
>> [root@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@ZetaSearch01 ~]# rpm -qa | grep postg
>> postgresql93-server-9.3.6-1PGDG.rhel5
>> [root@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*
>>
>
>
Hi,
I think you should try
yum erase postgresql93-server-9.3.6-1PGDG.rhel5

or if this is not working then you can go to the location of it and remove
it manually.
check the location using
which postgresql93-server-9.3.6-1PGDG.rhel5
you will get the location generally it is "/usr/bin/"
then remove it using rm.
Check it and tell me if the problem is still present.

Regards
Ajinkya Bangale
Database Administrator
www.shreeyansh.com

Attachments:

image001.jpg (image/jpeg, 3.5K) download view image
^ permalink raw reply [nested|flat] 5+ messages in thread


end of thread, other threads:[~2015-02-09 09:01 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-02-06 20:00 Can't uninstall rpm package. Vivekanand Joshi <vjoshi@zetainteractive.com>
2015-02-06 20:06 ` John Scalia <jayknowsunix@gmail.com>
2015-02-06 20:41 ` Devrim Gündüz <devrim@gunduz.org>
2015-02-09 08:52 ` Shreeyansh Dba <shreeyansh2014@gmail.com>
2015-02-09 09:01   ` Shreeyansh Dba <shreeyansh2014@gmail.com>

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