debian – 在ubuntu 11.04上安装supervisord时出错.有任何解决这个问题的方法吗?

# aptitude install supervisor
The following NEW packages will be installed:
  python-medusa{a} python-meld3{a} supervisor 
0 packages upgraded,3 newly installed,0 to remove and 0 not upgraded.
Need to get 0 B/290 kB of archives. After unpacking 1,552 kB will be used.
Do you want to continue? [Y/n/?] Y
Selecting prevIoUsly deselected package python-medusa.
(Reading database ... 35128 files and directories currently installed.)
Unpacking python-medusa (from .../python-medusa_0.5.4+clean-2ubuntu1_all.deb) ...
Selecting prevIoUsly deselected package python-meld3.
Unpacking python-meld3 (from .../python-meld3_0.6.5-3build1_amd64.deb) ...
Selecting prevIoUsly deselected package supervisor.
Unpacking supervisor (from .../supervisor_3.0a8-1_all.deb) ...
Processing triggers for ureadahead ...
Setting up python-medusa (0.5.4+clean-2ubuntu1) ...
Setting up python-meld3 (0.6.5-3build1) ...
Setting up supervisor (3.0a8-1) ...
Starting supervisor: /usr/bin/supervisord:5: UserWarning: Module supervisor was already     imported from None,but /usr/lib/pymodules/python2.7 is being added to sys.path
  from pkg_resources import load_entry_point
Error: No config file found at default paths (/usr/etc/supervisord.conf,/usr/supervisord.conf,supervisord.conf,etc/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
No apport report written because MaxReports is reached already
                                                              Processing triggers for python-support ...
Errors were encountered while processing:
 supervisor
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package Failed to install.  Trying to recover:
Setting up supervisor (3.0a8-1) ...
Starting supervisor: /usr/bin/supervisord:5: UserWarning: Module supervisor was already   imported from None,/etc/supervisord.conf); use the           -c option to specify a config file at a different path
For     help,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

不知道为什么它无法找到supervisord配置文件或安装失败的原因.我确实运行了aptitude更新,aptitude升级,所以希望一切都是最新的:(

我刚刚遇到了同样的问题,所以我会留下它发生在我身上的原因.

我们使用pip将管理程序安装到全局路径(而不是virtualenv)中,这意味着我们运行的是最新版本.但是,从服务器维护的角度来看,这是不可取的,因此我们在Apt中切换了旧版本.

pip uninstall没有正确清理,将脚本/日志保留在以下所有目录中:

> /usr/local / bin /
> /usr/local/lib/python2.7/dist-packages/
> / tmp /
> / etc /

我建议进行以下搜索并手动删除对supervisor-3.0a12的所有引用:

sudo找/ -iname“*主管*”

相关文章

1.安装过程出现0x00000000指令引用的0x00000000内存该内存不能为written 如果你安装的是inux系统 需要在...
写在全面:如果根据以下教程涉及到只读文件需要更改文件权限才能需修改文件内容,参考我的另一篇博客:...
写在前面:以下步骤中需要在终端输入命令,电脑端查看博客的朋友可以直接复制粘贴到终端,手机端查看的...
ubuntu16.04和18.04更换国内源 写在前面:安装好ubuntu双系统后,默认的软件更新源是国外的,在国内使用...
ubuntu双系统启动时卡死解决办法(在ubuntu16.04和18.04测试无误) 问题描述: 在安装完ubuntu双系统后...
又来造轮子了。。。。。。。。。。。。。。。。 今天使用w3af向文件中写入的时候,发现没有write权限,...