Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have removed and purged couchdb from Ubuntu, but if I type "couchdb" in the shell at any point, the system still tries to start it up before crashing. I checked /usr/bin, and I still have references to couchdb, even after I purged:

$ /usr/bin: ls couch*
couchdb  couchdb-dump  couchdb-load  couchdb-replicate  couchjs  couchpy
  1. What's the safest way to remove these references? Can I simply delete them, or will other artifacts be left behind?
  2. I also checked .bash_profile, .bashrc, .profile, /etc/profile - are there other spots I should look for artifacts?
share|improve this question

2 Answers 2

up vote 1 down vote accepted

To find the package name for a given file, use:

dpkg --search /usr/bin/couchdb

on my system this returns couchdb-bin, then you should do:

sudo apt-get --purge remove couchdb-bin

Repeat as many times as needed.

share|improve this answer

check the deb package in archive

eg.

/var/cache/apt/archives/couchdb_1.0.1-0ubuntu15_all.deb

you can open this with archive manager and check what all changes were made to system when this package was installed. (DEBIAN folder has this information) Other folders corresponf to your root ("/") file system

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.