How to remove all Couchdb versions in Ubuntu 10.04 (server)? ( after multiple installs )

Posted by DjangoRocks on Server Fault See other posts from Server Fault or by DjangoRocks
Published on 2011-01-12T09:02:51Z Indexed on 2011/01/12 11:55 UTC
Read the original article Hit count: 469

Filed under:
|

Hi all, I have done multiple installs of CouchDB using sudo aptitude install couchdb sudo ap-get install couchdb

and more recently based on the instructions found at L http://wiki.apache.org/couchdb/Installing_on_Ubuntu

May I know how do I uninstall or remove all the above installations?

Best Regards. +++++++++++++++++++UPDATE++++++++++++++++++++++++

I've tried running the following commands:

apt-get remove couchdb
apt-get purge couchdb

but received the following errors:

(Reading database ... 39814 files and directories currently installed.)
Removing couchdb ...
invoke-rc.d: initscript couchdb, action "stop" failed.
dpkg: error processing couchdb (--remove):
 subprocess installed pre-removal script returned error exit status 1
invoke-rc.d: initscript couchdb, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 couchdb
E: Sub-process /usr/bin/dpkg returned an error code (1)

May I know how do i fix this?

ON issuing the command : dpkg -l | grep couchdb I received the following response:

rF  couchdb                          0.10.0-1ubuntu2                            RESTful document oriented database, system D
iF  couchdb-bin                      0.10.0-1ubuntu2                            RESTful document oriented database, programs

How do i uninstall CouchDB ? I think there's some file corruption?

© Server Fault or respective owner

Related posts about ubuntu-server

Related posts about couchdb