package python3-minimal 3.6.7-1~18.04 failed to install/upgrade: installed python3-minimal package post-installation script subprocess returned error exit status 127

Bug #1806399 reported by Lovesh
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
python3-defaults (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

lkjhgfdsazASDERTYUIOP'/;.LKJHGFDSZ

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: python3-minimal 3.6.7-1~18.04
ProcVersionSignature: Ubuntu 4.15.0-39.42-generic 4.15.18
Uname: Linux 4.15.0-39-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
AptOrdering:
 python3-minimal:amd64: Configure
 python3:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Mon Dec 3 23:48:46 2018
DpkgTerminalLog:
 Setting up python3-minimal (3.6.7-1~18.04) ...
 /var/lib/dpkg/info/python3-minimal.postinst: 5: /var/lib/dpkg/info/python3-minimal.postinst: py3compile: not found
 dpkg: error processing package python3-minimal (--configure):
  installed python3-minimal package post-installation script subprocess returned error exit status 127
DuplicateSignature:
 package:python3-minimal:3.6.7-1~18.04
 Setting up python3-minimal (3.6.7-1~18.04) ...
 /var/lib/dpkg/info/python3-minimal.postinst: 5: /var/lib/dpkg/info/python3-minimal.postinst: py3compile: not found
 dpkg: error processing package python3-minimal (--configure):
  installed python3-minimal package post-installation script subprocess returned error exit status 127
ErrorMessage: installed python3-minimal package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2018-01-05 (332 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
Python3Details: /usr/bin/python3.6m, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.1
 apt 1.6.6
SourcePackage: python3-defaults
Title: package python3-minimal 3.6.7-1~18.04 failed to install/upgrade: installed python3-minimal package post-installation script subprocess returned error exit status 127
UpgradeStatus: Upgraded to bionic on 2018-09-27 (67 days ago)

Revision history for this message
Lovesh (lovesh2407) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Juhani Numminen (jsonic) wrote :

From the attached DpkgHistoryLog.txt I can infer that the problem started after removing python3.

I'd try something like what was posted there: https://askubuntu.com/questions/914556/python-3-not-working

cd /tmp
apt-get download python3 python3.6 python3-minimal python3.6-minimal libpython3.6-minimal
sudo dpkg -i *python3*.deb
sudo apt install -f

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python3-defaults (Ubuntu):
status: New → Confirmed
Juhani Numminen (jsonic)
Changed in python3-defaults (Ubuntu):
status: Confirmed → Incomplete
esmail (esm197496)
Changed in python3-defaults (Ubuntu):
status: Incomplete → Fix Committed
status: Fix Committed → Incomplete
status: Incomplete → New
Changed in python3-defaults (Ubuntu):
status: New → Confirmed
Revision history for this message
goodfaith (goodfaith) wrote :

Have this same problem on 16.04LTS

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.