[Bug 1836266] Re: package python 2.7.11-1 failed to install/upgrade: pre-dependency problem - not installing python
Matthias Klose
doko at ubuntu.com
Fri Jul 12 02:59:27 UTC 2019
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
Foundations Bugs, which is subscribed to python-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1836266
Title:
package python 2.7.11-1 failed to install/upgrade: pre-dependency
problem - not installing python
Status in python-defaults package in Ubuntu:
Incomplete
Bug description:
I tried to upgrade ubuntu and cath whis bug
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python 2.7.11-1
ProcVersionSignature: Ubuntu 4.13.0-37.42~16.04.1-generic 4.13.13
Uname: Linux 4.13.0-37-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Fri Jul 12 01:04:31 2019
ErrorMessage: pre-dependency problem - not installing python
InstallationDate: Installed on 2017-08-27 (683 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.5
apt 1.2.32
SourcePackage: python-defaults
Title: package python 2.7.11-1 failed to install/upgrade: pre-dependency problem - not installing python
UpgradeStatus: Upgraded to xenial on 2019-07-11 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1836266/+subscriptions
More information about the foundations-bugs
mailing list