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/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
dpkg: error processing package python-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
python-minimal
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.
https://bugs.launchpad.net/bugs/1836266
Title:
package python 2.7.11-1 failed to install/upgrade: pre-dependency
problem - not installing python
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1836266/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs