Goodspeed

导航

supervisor 3.0a8-1 安装失败

在ubuntu 11.04上安装supervisor

sudo apt-get install supervisor

会得到以下错误

Reading package lists... Done
Building dependency tree
Reading state information... Done
supervisor is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up supervisor (3.0a8-1) ...
Starting supervisor: Unlinking stale socket /var/run/supervisor.sock
Traceback (most recent call last):
  File "/usr/bin/supervisord", line 9, in <module>
    load_entry_point('supervisor==3.0a8', 'console_scripts', 'supervisord')()
  File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 371, in main
    go(options)
  File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 381, in go
    d.main()
  File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 94, in main
    self.run()
  File "/usr/lib/pymodules/python2.7/supervisor/supervisord.py", line 104, in run
    self.options.openhttpservers(self)
  File "/usr/lib/pymodules/python2.7/supervisor/options.py", line 1039, in openhttpservers
    self.httpservers = self.make_http_servers(supervisord)
  File "/usr/lib/pymodules/python2.7/supervisor/options.py", line 1242, in make_http_servers
    return make_http_servers(self, supervisord)
  File "/usr/lib/pymodules/python2.7/supervisor/http.py", line 799, in make_http_servers
    from web import supervisor_ui_handler
  File "/usr/lib/pymodules/python2.7/supervisor/web.py", line 29, in <module>
    import meld3
  File "/usr/lib/pymodules/python2.7/meld3/__init__.py", line 2, in <module>
    from meld3 import parse_xml
  File "/usr/lib/pymodules/python2.7/meld3/meld3.py", line 27, in <module>
    from xml.etree.ElementTree import fixtag
ImportError: cannot import name fixtag
invoke-rc.d: initscript supervisor, action "start" failed.
dpkg: error processing supervisor (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for python-support ...
Errors were encountered while processing:
 supervisor
E: Sub-process /usr/bin/dpkg returned an error code (1)

解决办法是安装一下

sudo apt-get install python-meld3

看起来apt-get也不是很可靠

posted on 2011-06-20 16:09  Goodspeed  阅读(3002)  评论(0编辑  收藏  举报