package python-markupsafe 0.23-2build1 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
markupsafe (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
i dont know
ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: python-markupsafe 0.23-2build1
ProcVersionSign
Uname: Linux 4.2.0-34-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
AptOrdering:
python-markupsafe: Install
python-jinja2: Install
python-markupsafe: Configure
python-jinja2: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Mon Mar 28 19:41:55 2016
DuplicateSignature: package:
ErrorMessage: 子进程 已安装 post-installation 脚本 返回错误状态 1
InstallationDate: Installed on 2016-03-25 (2 days ago)
InstallationMedia: Ubuntu-Kylin 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageV
dpkg 1.18.2ubuntu5.1
apt 1.0.10.2ubuntu1
SourcePackage: markupsafe
Title: package python-markupsafe 0.23-2build1 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
from DpkgTerminalLog.txt
File "/usr/bin/ pycompile" , line 35, in <module> python/ debpython/ version. py", line 24, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
----
I'm guessing you've replaced /usr/bin/python with python3, as this is a common traceback when someone has done so. The apt tooling requires /usr/bin/python to be python2.7 (and is by implementation a symlink to the python2.7 binary). Please ensure this is the case on your system (ls -l /usr/bin/python).
I'm marking this as 'Incomplete' to allow time for this verification; but you can move it back to the 'New' state if you've verified that the default python is indeed python2.7 and there is a real bug, otherwise it should be marked as 'Invalid'
Thank you for taking the time to report and investigate this issue.