libncurses5-dev 已经是最新的版本。
下列软件包是自动安装的并且现在不需要了:
  libqpdf13
Use 'apt-get autoremove' to remove it.
下列软件包将被升级:
  python-ldb
升级了 1 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 157 个软件包未被升级。
有 119 个软件包没有被完全安装或卸载。
需要下载 0 B/29.0 kB 的归档。
解压缩后会消耗 0 B 的额外空间。
(正在读取数据库 ... 系统当前共安装有 233218 个文件和目录。)
正准备解包 .../python-ldb_1%3a1.1.24-0ubuntu0.14.04.2_amd64.deb  ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg:警告:子进程 旧的 pre-removal 脚本 返回了错误号 1
dpkg: 现在尝试使用新软件包所带的脚本...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: 处理归档 /var/cache/apt/archives/python-ldb_1%3a1.1.24-0ubuntu0.14.04.2_amd64.deb (--unpack)时出错:
 子进程 新的 pre-removal 脚本 返回了错误号 1
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg:清理时出错:
 子进程 已安装 post-installation 脚本 返回了错误号 1
在处理时有错误发生:
 /var/cache/apt/archives/python-ldb_1%3a1.1.24-0ubuntu0.14.04.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)