package python-minimal 2.7.15~rc1-1 failed to install/upgrade: installed python-minimal package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-defaults (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Paquets suggérés :
python-doc python-tk
Les NOUVEAUX paquets suivants seront installés :
python
0 mis à jour, 1 nouvellement installés, 0 à enlever et 1935 non mis à jour.
8 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/140 ko dans les archives.
Après cette opération, 639 ko d'espace disque supplémentaires seront utilisés.
Paramétrage de python-minimal (2.7.15~rc1-1) ...
Traceback (most recent call last):
File "/usr/local/
"__main__", fname, loader, pkg_name)
File "/usr/local/
exec code in run_globals
File "/usr/local/
import struct
File "/usr/local/
from _struct import *
ImportError: No module named _struct
dpkg: erreur de traitement du paquet python-minimal (--configure) :
installed python-minimal package post-installation script subprocess returned error exit status 1
Des erreurs ont été rencontrées pendant l'exécution :
python-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: python-minimal 2.7.15~rc1-1
ProcVersionSign
Uname: Linux 4.13.0-32-generic i686
NonfreeKernelMo
ApportVersion: 2.20.8-0ubuntu6
Architecture: i386
Date: Sun Jun 17 22:44:04 2018
ErrorMessage: installed python-minimal package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2012-07-04 (2174 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
Python3Details: /usr/local/
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu1
apt 1.6~alpha7ubuntu1
SourcePackage: python-defaults
Title: package python-minimal 2.7.15~rc1-1 failed to install/upgrade: installed python-minimal package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2018-01-28 (140 days ago)
Hello there,
Although I am not a french speaking, I think i understood your issue.
This might be related to another python binary you have on your path.
Please check you have /usr/bin first in your path by the time of the upgrade