In my case the probelm was a missing "couchdb" group:

                          Errors were encountered while processing:
 couchdb-bin
 couchdb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up couchdb-bin (1.0.1-0ubuntu3~lucid1) ...
chown: invalid group: `couchdb:couchdb'

To "fix" the problem do something like the following:

root@cowputer:~# grep couchdb /etc/passwd
couchdb:x:107:116:CouchDB Administrator,,,:/var/lib/couchdb:/bin/bash

The add the following line to /etc/group:

couchdb:x:116:couchdb

remove and reinstall couchdb

It worked for me.

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

Title:
  package couchdb 0.10.0-1ubuntu1 failed to install/upgrade: subprocess
  new pre-removal script returned error exit status 1

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

Reply via email to