package python-markupsafe 0.23-2build1 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回错误状态 1

Bug #1562840 reported by kn
8
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
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:python-markupsafe:0.23-2build1:子进程 已安装 post-installation 脚本 返回错误状态 1
ErrorMessage: 子进程 已安装 post-installation 脚本 返回错误状态 1
InstallationDate: Installed on 2016-03-25 (2 days ago)
InstallationMedia: Ubuntu-Kylin 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageVersions:
 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)

Revision history for this message
kn (1010346494-3) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Jon Grimm (jgrimm) wrote :

from DpkgTerminalLog.txt

  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'

----

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.

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

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

Changed in markupsafe (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.