package supervisor 3.0a8-1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1204062 reported by Mike Metcalfe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
supervisor (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The first installation guide I read suggested I install the python package (pip install supervisor) which I did but had some problem (sorry, can't remember what). I'm not if it's related but now I get this when apt-get install supervisor

Setting up supervisor (3.0a8-1.1) ...
Starting supervisor: Error: No config file found at default paths (supervisord.conf, etc/supervisord.conf, /etc/supervisor/supervisord.conf, /etc/supervisord.conf); use the -c option to specify a config file at a different path
For help, use /usr/bin/supervisord -h
invoke-rc.d: initscript supervisor, action "start" failed.
dpkg: error processing supervisor (--configure):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for python-support ...
Errors were encountered while processing:
 supervisor
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: supervisor 3.0a8-1.1
ProcVersionSignature: Ubuntu 3.2.0-49.75-generic 3.2.46
Uname: Linux 3.2.0-49-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.3
Architecture: amd64
Date: Tue Jul 23 10:06:35 2013
DuplicateSignature: package:supervisor:3.0a8-1.1:subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: supervisor
Title: package supervisor 3.0a8-1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.supervisor.conf.d.README: [deleted]
modified.conffile..etc.supervisor.supervisord.conf: [deleted]

Revision history for this message
Mike Metcalfe (6-mike-3) wrote :
tags: removed: need-duplicate-check
Revision history for this message
fqj1994 (fqj1994) wrote :

Hello,
this is not a bug.

Mixing the distro's package management with others will sometimes cause troubles.
Please make sure all the stuff you installed through pip is removed.
According to your error message,
it looks like supervisor cann't find your configuation file.
In debian and other debian-based distro's , the default configuation file should be at /etc/supervisor/supervisord.conf
Please try the following command:
$ stat /etc/supervisor
$ stat /etc/supervisor/supervisord.conf
Make sure that /etc/supervisor is a directory, and /etc /supervisor/supervisord.conf is a regular file (or link to a regular file)

If you found /etc/supervisor is a regular file, it will cause failure to create /etc/supervisor/supervisord.conf, you need to remove that and reinstall through apt-get, aptitude or dpkg.

Changed in supervisor (Ubuntu):
status: New → Invalid
Revision history for this message
Mike Metcalfe (6-mike-3) wrote :

Thanks for checking this out, fqj1994. I uninstalled with pip and purged with apt and it worked.

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.