[Bug 1777366] Re: 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

Jose Flores 1777366 at bugs.launchpad.net
Thu Aug 30 14:19:57 UTC 2018


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

-- 
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/1777366

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

Status in python-defaults package in Ubuntu:
  New

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/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: 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
  ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
  Uname: Linux 4.13.0-32-generic i686
  NonfreeKernelModules: nvidia
  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/bin/python3.5, Python 3.5.2, unpackaged
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1777366/+subscriptions



More information about the foundations-bugs mailing list