Package: python-testresources Version: 1.0.0-2 Severity: important It seems that a dependency on python-pbr/python3-pbr is missing:
~$ sudo apt install python-testresources Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: python-linecache2 python-traceback2 python-unittest2 The following NEW packages will be installed: python-linecache2 python-testresources python-traceback2 python-unittest2 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 131 kB of archives. After this operation, 770 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ftp.it.debian.org/debian sid/main amd64 python-linecache2 all 1.0.0-3 [12.3 kB] Get:2 http://ftp.it.debian.org/debian sid/main amd64 python-traceback2 all 1.4.0-4 [16.0 kB] Get:3 http://ftp.it.debian.org/debian sid/main amd64 python-unittest2 all 1.1.0-6.1 [75.7 kB] Get:4 http://ftp.it.debian.org/debian sid/main amd64 python-testresources all 1.0.0-2 [26.6 kB] Fetched 131 kB in 0s (452 kB/s) Selecting previously unselected package python-linecache2. (Reading database ... 29428 files and directories currently installed.) Preparing to unpack .../0-python-linecache2_1.0.0-3_all.deb ... Unpacking python-linecache2 (1.0.0-3) ... Selecting previously unselected package python-traceback2. Preparing to unpack .../1-python-traceback2_1.4.0-4_all.deb ... Unpacking python-traceback2 (1.4.0-4) ... Selecting previously unselected package python-unittest2. Preparing to unpack .../2-python-unittest2_1.1.0-6.1_all.deb ... Unpacking python-unittest2 (1.1.0-6.1) ... Selecting previously unselected package python-testresources. Preparing to unpack .../3-python-testresources_1.0.0-2_all.deb ... Unpacking python-testresources (1.0.0-2) ... Setting up python-linecache2 (1.0.0-3) ... Processing triggers for man-db (2.7.5-1) ... Setting up python-traceback2 (1.4.0-4) ... Setting up python-unittest2 (1.1.0-6.1) ... update-alternatives: using /usr/bin/python2-unit2 to provide /usr/bin/unit2 (unit2) in auto mode Setting up python-testresources (1.0.0-2) ... ~$ python -c "import testresources" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/testresources/__init__.py", line 40, in <module> from pbr.version import VersionInfo ImportError: No module named pbr.version -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.4.0-43-lowlatency (SMP w/4 CPU cores; PREEMPT) 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 python-testresources depends on: ii python 2.7.11-2 ii python-unittest2 1.1.0-6.1 pn python:any <none> python-testresources recommends no packages. python-testresources suggests no packages. -- no debconf information