package python 2.7.13-2 failed to install/upgrade: pre-dependency problem - not installing python

Bug #1731906 reported by Nguyen Minh Hieu
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-defaults (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I don't know

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: python 2.7.13-2
ProcVersionSignature: Ubuntu 4.10.0-38.42-generic 4.10.17
Uname: Linux 4.10.0-38-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
Date: Tue Nov 7 14:04:14 2017
ErrorMessage: pre-dependency problem - not installing python
InstallationDate: Installed on 2017-06-10 (155 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
RelatedPackageVersions:
 dpkg 1.18.24ubuntu1
 apt 1.4.6~17.04.1
SourcePackage: python-defaults
Title: package python 2.7.13-2 failed to install/upgrade: pre-dependency problem - not installing python
UpgradeStatus: Upgraded to zesty on 2017-11-07 (6 days ago)

Revision history for this message
Nguyen Minh Hieu (nmhieuq8y) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Matthias Klose (doko) wrote :

invalid. you have a python installation in /usr/local

raceback (most recent call last):
  File "/usr/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/compileall.py", line 16, in <module>
    import struct
  File "/usr/local/lib/python2.7/struct.py", line 1, in <module>
    from _struct import *
ImportError: No module named _struct

Changed in python-defaults (Ubuntu):
status: New → Invalid
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.