package python3 3.6.5-3ubuntu1 failed to install/upgrade: installed python3 package post-installation script subprocess returned error exit status 4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3-defaults (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Setting up python3 (3.6.5-3ubuntu1) ...
running python rtupdate hooks for python3.6...
E: py3compile:183: cannot create directory /usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
[Errno 2] No such file or directory: '/usr/share/
error running python rtupdate hook hplip-data
dpkg: error processing package python3 (--configure):
installed python3 package post-installation script subprocess returned error exit status 4
dpkg: dependency problems prevent configuration of python3-dev:
python3-dev depends on python3 (= 3.6.5-3ubuntu1); however:
Package python3 is not configured yet.
dpkg: error processing package python3-dev (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
python3
python3-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: python3 3.6.5-3ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Thu Jul 12 21:29:49 2018
ErrorMessage: installed python3 package post-installation script subprocess returned error exit status 4
InstallationDate: Installed on 2018-07-04 (8 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.2
SourcePackage: python3-defaults
Title: package python3 3.6.5-3ubuntu1 failed to install/upgrade: installed python3 package post-installation script subprocess returned error exit status 4
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #1779237, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.