[Bug 387945] [NEW] package couchdb failed to purge

Martin Pitt martin.pitt at ubuntu.com
Tue Jun 16 14:39:45 UTC 2009


Public bug reported:

Binary package hint: couchdb

When installing couchdb, it creates a system wide instance. When purging
it, it fails to stop this, so that after installation, processes are
left over:

$ ps aux|grep couch
couchdb  11689  0.0  0.0   4024   640 ?        S    16:21   0:00 /bin/sh -e /usr/bin/couchdb -c \"/etc/couchdb/default.ini\" -c \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb  11735  0.0  0.0   4024   356 ?        S    16:21   0:00 /bin/sh -e /usr/bin/couchdb -c \"/etc/couchdb/default.ini\" -c \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb  11736  0.0  0.6 114336 12888 ?        Sl   16:21   0:00 /usr/lib/erlang/erts-5.7.2/bin/beam.smp -Bd -K true -- -root /usr/lib/erlang -progname erl -- -home /var/lib/couchdb -noshell -noinput -smp auto -sasl errlog_type error -pa /usr/lib/couchdb/erlang/lib/couch-0.9.0/ebin /usr/lib/couchdb/erlang/lib/mochiweb-r97/ebin /usr/lib/couchdb/erlang/lib/ibrowse-1.4.1/ebin -eval application:load(ibrowse) -eval application:load(crypto) -eval application:load(couch) -eval crypto:start() -eval ibrowse:start() -eval couch_server:start([ "/etc/couchdb/default.ini", "/etc/couchdb/local.ini"]), receive done -> done end. -pidfile /var/run/couchdb/couchdb.pid -heart
couchdb  11745  0.0  0.0   3788   512 ?        Ss   16:21   0:00 heart -pid 11736 -ht 11

and the package fails to purge, since the couchdb user cannot be
removed:

userdel: Benutzer couchdb ist derzeit angemeldet
/usr/sbin/deluser: »/usr/sbin/userdel couchdb« gab den Fehlercode 8 zurück. Programmende.
dpkg: Fehler beim Bearbeiten von couchdb (--purge):
 Unterprozess post-removal script gab den Fehlerwert 1 zurück

Sorry for German, it means that the "couchdb" user is currently logged
in, and that userdel failed because of that.

Also, packages should not remove system accounts in the first place on
removal, for various reason.

ProblemType: Package
Architecture: amd64
Date: Tue Jun 16 16:29:10 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: Unterprozess post-removal script gab den Fehlerwert 1 zurück
Package: couchdb (not installed)
ProcVersionSignature: Ubuntu 2.6.30-9.10kms5-generic
SourcePackage: couchdb
Title: package couchdb (not installed) failed to install/upgrade: Unterprozess post-removal script gab den Fehlerwert 1 zurück
Uname: Linux 2.6.30-9-generic x86_64

** Affects: couchdb (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package

-- 
package couchdb failed to purge
https://bugs.launchpad.net/bugs/387945
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list