Package: python3.5-minimal
Version: 3.5.3~rc1-1
OS: Debian Stretch 64 bit
Kde Desktop

Three different mirror sites gave the same results.

Aptitude and apt-get consistantly give the following:

Setting up python3.5-minimal (3.5.3~rc1-1) ...
Traceback (most recent call last):
  File "/usr/lib/python3.5/py_compile.py", line 6, in <module>
    import importlib._bootstrap_external
  File "/usr/lib/python3.5/importlib/__init__.py", line 57, in <module>
    import types
  File "/usr/lib/python3.5/types.py", line 166, in <module>
    import functools as _functools
  File "/usr/lib/python3.5/functools.py", line 23, in <module>
    from weakref import WeakKeyDictionary
  File "/usr/lib/python3.5/weakref.py", line 12, in <module>
    from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'
dpkg: error processing package python3.5-minimal (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python3.5:
 python3.5 depends on python3.5-minimal (= 3.5.3~rc1-1); however:
  Package python3.5-minimal is not configured yet.

dpkg: error processing package python3.5 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-numpy:
 python3-numpy depends on python3.5:any; however:
  Package python3.5 is not configured yet.

dpkg: error processing package python3-numpy (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3.5-venv:
 python3.5-venv depends on python3.5 (= 3.5.3~rc1-1); however:
  Package python3.5 is not configured yet.

dpkg: error processing package python3.5-venv (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3.5-dev:
 python3.5-dev depends on python3.5 (= 3.5.3~rc1-1); however:
  Package python3.5 is not configured yet.

dpkg: error processing package python3.5-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3.5-minimal
 python3.5
 python3-numpy
 python3.5-venv
 python3.5-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)

Since all the packages depend on python3.5-minimal I attempted to force a rebuild of its dependancies with "aptitude build-dep python3.5-minimal
" with the following results:

root@supercrunch:/etc# aptitude build-dep python3.5-minimal
The following packages will be REMOVED:
  libkf5config-bin{u} libkf5dbusaddons-bin{u} libkf5iconthemes-bin{u}
  liblircclient0{u} libraptor1{u}
The following partially installed packages will be configured:
  python3-numpy python3.5 python3.5-dev python3.5-minimal python3.5-venv
0 packages upgraded, 0 newly installed, 5 to remove and 41 not upgraded.
Need to get 0 B of archives. After unpacking 766 kB will be freed.
Do you want to continue? [Y/n/?]
(Reading database ... 462079 files and directories currently installed.)
Removing libkf5config-bin (5.28.0-1) ...
Removing libkf5dbusaddons-bin (5.28.0-1) ...
Removing libkf5iconthemes-bin (5.28.0-1) ...
Removing liblircclient0 (0.9.4c-7) ...
Removing libraptor1:amd64 (1.4.21-11+b1) ...
Setting up python3.5-minimal (3.5.3~rc1-1) ...
Traceback (most recent call last):
  File "/usr/lib/python3.5/py_compile.py", line 6, in <module>
    import importlib._bootstrap_external
  File "/usr/lib/python3.5/importlib/__init__.py", line 57, in <module>
    import types
  File "/usr/lib/python3.5/types.py", line 166, in <module>
    import functools as _functools
  File "/usr/lib/python3.5/functools.py", line 23, in <module>
    from weakref import WeakKeyDictionary
  File "/usr/lib/python3.5/weakref.py", line 12, in <module>
    from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'
dpkg: error processing package python3.5-minimal (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python3.5:
 python3.5 depends on python3.5-minimal (= 3.5.3~rc1-1); however:
  Package python3.5-minimal is not configured yet.

dpkg: error processing package python3.5 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-numpy:
 python3-numpy depends on python3.5:any; however:
  Package python3.5 is not configured yet.

dpkg: error processing package python3-numpy (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3.5-venv:
 python3.5-venv depends on python3.5 (= 3.5.3~rc1-1); however:
  Package python3.5 is not configured yet.

dpkg: error processing package python3.5-venv (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3.5-dev:
 python3.5-dev depends on python3.5 (= 3.5.3~rc1-1); however:
  Package python3.5 is not configured yet.

dpkg: error processing package python3.5-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3.5-minimal
 python3.5
 python3-numpy
 python3.5-venv
 python3.5-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up python3.5-minimal (3.5.3~rc1-1) ...
Traceback (most recent call last):
  File "/usr/lib/python3.5/py_compile.py", line 6, in <module>
    import importlib._bootstrap_external
  File "/usr/lib/python3.5/importlib/__init__.py", line 57, in <module>
    import types
  File "/usr/lib/python3.5/types.py", line 166, in <module>
    import functools as _functools
  File "/usr/lib/python3.5/functools.py", line 23, in <module>
    from weakref import WeakKeyDictionary
  File "/usr/lib/python3.5/weakref.py", line 12, in <module>
    from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'
dpkg: error processing package python3.5-minimal (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python3.5:
 python3.5 depends on python3.5-minimal (= 3.5.3~rc1-1); however:
  Package python3.5-minimal is not configured yet.

dpkg: error processing package python3.5 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-numpy:
 python3-numpy depends on python3.5:any; however:
  Package python3.5 is not configured yet.

dpkg: error processing package python3-numpy (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3.5-venv:
 python3.5-venv depends on python3.5 (= 3.5.3~rc1-1); however:
  Package python3.5 is not configured yet.

dpkg: error processing package python3.5-venv (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3.5-dev:
 python3.5-dev depends on python3.5 (= 3.5.3~rc1-1); however:
  Package python3.5 is not configured yet.

dpkg: error processing package python3.5-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3.5-minimal
 python3.5
 python3-numpy
 python3.5-venv
 python3.5-dev

The problem seems to be in the python3.5-minimal package and then cascades down through the rest of the packages.

Gary Roach

Reply via email to