python-augeas 是否缺少对 libpython2.7 的依赖?

python-augeas 是否缺少对 libpython2.7 的依赖?

当我python-augeas在“最小服务器”上安装 Ubuntu 12.04 LTS 时,尝试使用它时会抛出以下导入错误:

# python

Python 2.7.3 (default, Aug  1 2012, 05:14:39) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import augeas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/augeas.py", line 55, in <module>
    class Augeas(object):
  File "/usr/lib/python2.7/dist-packages/augeas.py", line 61, in Augeas
    for _v in ("%d.%d", "%d%d")])
  File "/usr/lib/python2.7/dist-packages/augeas.py", line 52, in _dlopen
    raise ImportError("Unable to import lib%s!" % args[0])
ImportError: Unable to import libpython2.7!

如果我手动安装libpython2.7,问题就会消失。查看 的软件包信息python-augeas,没有列出 的依赖项libpython2.7。我是否遗漏了什么,或者应该如何解决?我应该提交错误报告吗?

相关内容