package couchdb 0.10.0-1ubuntu1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Bug #546084 reported by
Matthew Paul Thomas
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
couchdb (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: couchdb
Apport says:
ProblemType: Package
Architecture: i386
Date: Wed Mar 24 15:05:27 2010
DistroRelease: Ubuntu 10.04
ErrorMessage: subprocess new pre-removal script returned error exit status 1
NonfreeKernelMo
Package: couchdb 0.10.0-1ubuntu1
PackageArchitec
ProcVersionSign
SourcePackage: couchdb
Title: package couchdb 0.10.0-1ubuntu1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Uname: Linux 2.6.32-13-generic i686
Changed in couchdb (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
In my case the probelm was a missing "couchdb" group:
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-
chown: invalid group: `couchdb:couchdb'
To "fix" the problem do something like the following:
root@cowputer:~# grep couchdb /etc/passwd x:107:116: CouchDB Administrator, ,,:/var/ lib/couchdb: /bin/bash
couchdb:
The add the following line to /etc/group:
couchdb: x:116:couchdb
remove and reinstall couchdb
It worked for me.