package supervisor 3.0a8-1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
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
For help, use /usr/bin/
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
ProcVersionSign
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:
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
PackageArchitec
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.
modified.
tags: | removed: need-duplicate-check |
Hello,
this is not a bug.
Mixing the distro's package management with others will sometimes cause troubles. /supervisord. conf /supervisord. conf supervisord. conf is a regular file (or link to a regular file)
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
Please try the following command:
$ stat /etc/supervisor
$ stat /etc/supervisor
Make sure that /etc/supervisor is a directory, and /etc /supervisor/
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.