1

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?

2 Answers 2

5

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.

0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .