On Sat, 4 Feb 2017 11:50:03 +0100 Gilles Filippini <[email protected]> wrote:
> I can't reproduced this error installing python3.5-minimal or reportbug
> inside a clean sid chroot.
> Note that sid has python3.5-minimal version 3.5.3-1 since 2017-01-19, while
> you filed this bug against version 3.5.3~rc1-1 on 2017-01-21.
> Could you please give another try using up to date versions?
I have the same problem using the latest version:
$ ls -lt /var/cache/apt/archives/python3.5-minimal_3.5.3-1_amd64.deb
$ sudo dpkg --install
/var/cache/apt/archives/python3.5-minimal_3.5.3-1_amd64.deb
(Reading database ... 297056 files and directories currently installed.)
Preparing to unpack .../python3.5-minimal_3.5.3-1_amd64.deb ...
Unpacking python3.5-minimal (3.5.3-1) over (3.5.3-1) ...
Setting up python3.5-minimal (3.5.3-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 (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
python3.5-minimal
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3.5-minimal depends on:
ii libc6 2.24-9
ii libexpat1 2.2.0-2
ii libpython3.5-minimal 3.5.3-1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages python3.5-minimal recommends:
iu python3.5 3.5.3-1
Versions of packages python3.5-minimal suggests:
pn binfmt-support <none>