package python3.4-minimal 3.4.2-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1391625 reported by chm0ntf
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python3.4 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I believe software updater opened the new bug report url for me. I am running a do-release-upgrade to move from 14.04 to 14.10 but there were errors. It seems like something went wrong with the configuration of python3. That's really all I know I'm afraid.

ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: python3.4-minimal 3.4.2-1
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic i686
ApportVersion: 2.14.7-0ubuntu8
Architecture: i386
Date: Tue Nov 11 20:27:31 2014
DuplicateSignature: package:python3.4-minimal:3.4.2-1:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2011-05-08 (1283 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
SourcePackage: python3.4
Title: package python3.4-minimal 3.4.2-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to utopic on 2014-11-11 (0 days ago)

Revision history for this message
chm0ntf (nickform) wrote :
Revision history for this message
chm0ntf (nickform) wrote :

It seems that python3.4-minimal is the root package whose configuration goes wrong. This is my attempt to run manually:

$ sudo dpkg --configure python3.4-minimal
Setting up python3.4-minimal (3.4.2-1) ...
Traceback (most recent call last):
  File "/usr/lib/python3.4/py_compile.py", line 185, in <module>
    sys.exit(main())
  File "/usr/lib/python3.4/py_compile.py", line 177, in main
    compile(filename, doraise=True)
  File "/usr/lib/python3.4/py_compile.py", line 142, in compile
    importlib._bootstrap._write_atomic(cfile, bytecode, mode)
  File "<frozen importlib._bootstrap>", line 112, in _write_atomic
PermissionError: [Errno 1] Operation not permitted: '/usr/lib/python3.4/__pycache__/_threading_local.cpython-34.pyc.3072827024' -> '/usr/lib/python3.4/__pycache__/_threading_local.cpython-34.pyc'
dpkg: error processing package python3.4-minimal (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 python3.4-minimal

tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in python3.4 (Ubuntu):
status: New → Confirmed
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.