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
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 python3. 4/py_compile. py", line 185, in <module> exit(main( )) python3. 4/py_compile. py", line 177, in main filename, doraise=True) python3. 4/py_compile. py", line 142, in compile _bootstrap. _write_ atomic( cfile, bytecode, mode) _bootstrap> ", line 112, in _write_atomic python3. 4/__pycache_ _/_threading_ local.cpython- 34.pyc. 3072827024' -> '/usr/lib/ python3. 4/__pycache_ _/_threading_ local.cpython- 34.pyc'
Setting up python3.4-minimal (3.4.2-1) ...
Traceback (most recent call last):
File "/usr/lib/
sys.
File "/usr/lib/
compile(
File "/usr/lib/
importlib.
File "<frozen importlib.
PermissionError: [Errno 1] Operation not permitted: '/usr/lib/
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