you have a locally installed python:

Setting up python-minimal (2.7.15~rc1-1) ...
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/lib/python2.7/", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/", line 16, in <module>
    import struct
  File "/usr/local/lib/python2.7/", line 1, in <module>
    from _struct import *
ImportError: No module named _struct
dpkg: error processing package python-minimal (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dpkg: regarding .../python_2.7.15~rc1-1_amd64.deb containing python, 
pre-dependency problem:
 python pre-depends on python-minimal (= 2.7.15~rc1-1)
  python-minimal latest configured version is 2.7.11-1.

dpkg: error processing archive 
/var/cache/apt/archives/python_2.7.15~rc1-1_amd64.deb (--unpack):
 pre-dependency problem - not installing python

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  package python 2.7.11-1 failed to install/upgrade: pre-dependency
  problem - not installing python

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to