package python-decorator 3.4.0-2build1 failed to install/upgrade: 子进程 已安装 pre-removal 脚本 返回了错误号 1

Bug #1478746 reported by zeng
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-decorator (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

root@z-Lenovo:/home/z# apt-get dist-upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在对升级进行计算... 完成
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 3 个软件包没有被完全安装或卸载。
解压缩后会消耗掉 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
正在设置 apt-xapian-index (0.45ubuntu4) ...
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: 处理软件包 apt-xapian-index (--configure)时出错:
 子进程 已安装 post-installation 脚本 返回了错误号 1
正在设置 python-decorator (3.4.0-2build1) ...
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: 处理软件包 python-decorator (--configure)时出错:
 子进程 已安装 post-installation 脚本 返回了错误号 1
正在设置 python-simplegeneric (0.8.1-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: 处理软件包 python-simplegeneric (--configure)时出错:
 子进程 已安装 post-installation 脚本 返回了错误号 1
在处理时有错误发生:
 apt-xapian-index
 python-decorator
 python-simplegeneric
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: python-decorator 3.4.0-2build1
ProcVersionSignature: Ubuntu 3.16.0-44.59~14.04.1-generic 3.16.7-ckt14
Uname: Linux 3.16.0-44-generic i686
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: i386
Date: Tue Jul 28 09:03:02 2015
DuplicateSignature: package:python-decorator:3.4.0-2build1:子进程 已安装 pre-removal 脚本 返回了错误号 1
ErrorMessage: 子进程 已安装 pre-removal 脚本 返回了错误号 1
InstallationDate: Installed on 2015-06-23 (34 days ago)
InstallationMedia: Ubuntu-Kylin 14.04.2 LTS "Trusty Tahr" - Release i386 (20150218.1)
PackageArchitecture: all
SourcePackage: python-decorator
Title: package python-decorator 3.4.0-2build1 failed to install/upgrade: 子进程 已安装 pre-removal 脚本 返回了错误号 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
zeng (zenghywss) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Jon Grimm (jgrimm) wrote :

Relevant fro DpkTerminalLog.txt:

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'

This error is seen most often when someone has modified /usr/bin/python to point to python3. Apt depends on this being python2.7. Marking as Incomplete, but please move back to New, if this turns out not to be the case.

Changed in python-decorator (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-decorator (Ubuntu) because there has been no activity for 60 days.]

Changed in python-decorator (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.