package couchdb (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #448979 reported by Roger Binns
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
couchdb (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: couchdb

I did a fresh Karmic install and then wanted Couchdb. couchdb-bin is already installed but says to install "couchdb" to get system databases (and presumably Futon). So I told it to install the couchdb package which resulted in various errors about missing pathnames in the postinstall script. Doing a reinstall gave the same errors.

ProblemType: Package
AptOrdering:
 couchdb: Install
 couchdb: Configure
Architecture: amd64
Date: Sun Oct 11 12:28:58 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Package: couchdb (not installed)
ProcVersionSignature: Ubuntu 2.6.31-13.44-generic
SourcePackage: couchdb
Title: package couchdb (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-13-generic x86_64

Revision history for this message
Roger Binns (ubuntu-rogerbinns) wrote :
Revision history for this message
Gareth Jones (garethj) wrote :

My output from apt-get install:

$ sudo apt-get install couchdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  couchdb
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/8,534B of archives.
After this operation, 81.9kB of additional disk space will be used.
Selecting previously deselected package couchdb.
(Reading database ... 200085 files and directories currently installed.)
Unpacking couchdb (from .../couchdb_0.10.0~svn818859-0ubuntu2_all.deb) ...
Processing triggers for sreadahead ...
Setting up couchdb (0.10.0~svn818859-0ubuntu2) ...
chown: cannot access `/var/log/couchdb': No such file or directory
dpkg: error processing couchdb (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 couchdb
E: Sub-process /usr/bin/dpkg returned an error code (1)

This appears to be complaining about a missing /var/log/couchdb directory. After manually creating this directory, couchdb installs with no errors but doesn't appear to be a valid installation. Running '/etc/init.d/couchdb start' appears to run successfully but '/etc/init.d/couchdb status' doesn't output anything and nothing is running on port 5984.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.