Missing dependencies

Bug #1578543 reported by Jan de Haan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
yubikey-neo-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Installing this package on it's own with the listed requirements does not result in a working application.

Installing the packages python-pycryptopp and python-pkg-resources made it run.

See session below.

According to our neighbours https://bugs.archlinux.org/task/47055 there is some missing package in /usr/lib/python2.7/dist-packages/yubikey_neo_manager-1.4.0.egg-info/requires.txt

Checking that led me to python-pycryptopp

me@laptop:/home/me/Desktop >sudo apt install yubikey-neo-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libhidapi-hidraw0 libqt4-opengl libqtwebkit4 libu2f-host0 libykneomgr0 libykpers-1-1 libyubikey0 libzip4 python-pyside.qtwebkit
The following NEW packages will be installed:
  libhidapi-hidraw0 libqt4-opengl libqtwebkit4 libu2f-host0 libykneomgr0 libykpers-1-1 libyubikey0 libzip4 python-pyside.qtwebkit yubikey-neo-manager
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 9629 kB of archives.
After this operation, 39,6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://nl.archive.ubuntu.com/ubuntu xenial/main amd64 libqt4-opengl amd64 4:4.8.7+dfsg-5ubuntu2 [301 kB]
Get:2 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 libqtwebkit4 amd64 2.3.2-0ubuntu11 [9034 kB]
Get:3 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 libyubikey0 amd64 1.13-1 [7530 B]
Get:4 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 libzip4 amd64 1.0.1-0ubuntu1 [36,3 kB]
Get:5 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 python-pyside.qtwebkit amd64 1.2.2-2build2 [130 kB]
Get:6 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 libhidapi-hidraw0 amd64 0.8.0~rc1+git20140818.d17db57+dfsg-1 [10,1 kB]
Get:7 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 libu2f-host0 amd64 1.0.0-1 [19,8 kB]
Get:8 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 libykneomgr0 amd64 0.1.8-1 [17,3 kB]
Get:9 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 libykpers-1-1 amd64 1.17.2-1 [27,6 kB]
Get:10 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 yubikey-neo-manager all 1.4.0-1 [46,3 kB]
Fetched 9629 kB in 2s (4691 kB/s)
Selecting previously unselected package libqt4-opengl:amd64.
(Reading database ... 209421 files and directories currently installed.)
Preparing to unpack .../libqt4-opengl_4%3a4.8.7+dfsg-5ubuntu2_amd64.deb ...
Unpacking libqt4-opengl:amd64 (4:4.8.7+dfsg-5ubuntu2) ...
Selecting previously unselected package libqtwebkit4:amd64.
Preparing to unpack .../libqtwebkit4_2.3.2-0ubuntu11_amd64.deb ...
Unpacking libqtwebkit4:amd64 (2.3.2-0ubuntu11) ...
Selecting previously unselected package libyubikey0.
Preparing to unpack .../libyubikey0_1.13-1_amd64.deb ...
Unpacking libyubikey0 (1.13-1) ...
Selecting previously unselected package libzip4:amd64.
Preparing to unpack .../libzip4_1.0.1-0ubuntu1_amd64.deb ...
Unpacking libzip4:amd64 (1.0.1-0ubuntu1) ...
Selecting previously unselected package python-pyside.qtwebkit.
Preparing to unpack .../python-pyside.qtwebkit_1.2.2-2build2_amd64.deb ...
Unpacking python-pyside.qtwebkit (1.2.2-2build2) ...
Selecting previously unselected package libhidapi-hidraw0:amd64.
Preparing to unpack .../libhidapi-hidraw0_0.8.0~rc1+git20140818.d17db57+dfsg-1_amd64.deb ...
Unpacking libhidapi-hidraw0:amd64 (0.8.0~rc1+git20140818.d17db57+dfsg-1) ...
Selecting previously unselected package libu2f-host0.
Preparing to unpack .../libu2f-host0_1.0.0-1_amd64.deb ...
Unpacking libu2f-host0 (1.0.0-1) ...
Selecting previously unselected package libykneomgr0.
Preparing to unpack .../libykneomgr0_0.1.8-1_amd64.deb ...
Unpacking libykneomgr0 (0.1.8-1) ...
Selecting previously unselected package libykpers-1-1:amd64.
Preparing to unpack .../libykpers-1-1_1.17.2-1_amd64.deb ...
Unpacking libykpers-1-1:amd64 (1.17.2-1) ...
Selecting previously unselected package yubikey-neo-manager.
Preparing to unpack .../yubikey-neo-manager_1.4.0-1_all.deb ...
Unpacking yubikey-neo-manager (1.4.0-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up libqt4-opengl:amd64 (4:4.8.7+dfsg-5ubuntu2) ...
Setting up libqtwebkit4:amd64 (2.3.2-0ubuntu11) ...
Setting up libyubikey0 (1.13-1) ...
Setting up libzip4:amd64 (1.0.1-0ubuntu1) ...
Setting up python-pyside.qtwebkit (1.2.2-2build2) ...
Setting up libhidapi-hidraw0:amd64 (0.8.0~rc1+git20140818.d17db57+dfsg-1) ...
Setting up libu2f-host0 (1.0.0-1) ...
Setting up libykneomgr0 (0.1.8-1) ...
Setting up libykpers-1-1:amd64 (1.17.2-1) ...
Setting up yubikey-neo-manager (1.4.0-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
me@laptop:/home/me/Desktop >neoman
Traceback (most recent call last):
  File "/usr/bin/neoman", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
me@laptop:/home/me/Desktop >sudo neoman
Traceback (most recent call last):
  File "/usr/bin/neoman", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
me@laptop:/home/me/Desktop >dpkg -L libhidapi-hidraw0 libqt4-opengl libqtwebkit4 libu2f-host0 libykneomgr0 libykpers-1-1 libyubikey0 libzip4 python-pyside.qtwebkit yubikey-neo-manager|grep requires
/usr/lib/python2.7/dist-packages/yubikey_neo_manager-1.4.0.egg-info/requires.txt
me@laptop:/home/me/Desktop >more /usr/lib/python2.7/dist-packages/yubikey_neo_manager-1.4.0.egg-info/requires.txt
pycrypto
me@laptop:/home/me/Desktop >apt-cache search pycrypto
python-pycryptopp - Python wrappers for the Crypto++ library
python-pycryptopp-dbg - Python wrappers for the Crypto++ library (debug extension)
me@laptop:/home/me/Desktop >sudo apt install python-pycryptopp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libcrypto++9v5
The following NEW packages will be installed:
  libcrypto++9v5 python-pycryptopp
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2268 kB of archives.
After this operation, 8035 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 libcrypto++9v5 amd64 5.6.1-9 [885 kB]
Get:2 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 python-pycryptopp amd64 0.6.0.20120313-1build1 [1382 kB]
Fetched 2268 kB in 0s (3466 kB/s)
Selecting previously unselected package libcrypto++9v5.
(Reading database ... 209537 files and directories currently installed.)
Preparing to unpack .../libcrypto++9v5_5.6.1-9_amd64.deb ...
Unpacking libcrypto++9v5 (5.6.1-9) ...
Selecting previously unselected package python-pycryptopp.
Preparing to unpack .../python-pycryptopp_0.6.0.20120313-1build1_amd64.deb ...
Unpacking python-pycryptopp (0.6.0.20120313-1build1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up libcrypto++9v5 (5.6.1-9) ...
Setting up python-pycryptopp (0.6.0.20120313-1build1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
me@laptop:/home/me/Desktop >neoman
Traceback (most recent call last):
  File "/usr/bin/neoman", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
me@laptop:/home/me/Desktop >sudo neoman
Traceback (most recent call last):
  File "/usr/bin/neoman", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
me@laptop:/home/me/Desktop >apt-cache search pkg_resources
python-pkg-resources - Package Discovery and Resource Access using pkg_resources
python3-pkg-resources - Package Discovery and Resource Access using pkg_resources
pypy-pkg-resources - Package Discovery and Resource Access using pkg_resources
me@laptop:/home/me/Desktop >sudo apt install python-pkg-resources
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  python-setuptools
The following NEW packages will be installed:
  python-pkg-resources
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 108 kB of archives.
After this operation, 452 kB of additional disk space will be used.
Get:1 http://nl.archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
Fetched 108 kB in 0s (1952 kB/s)
Selecting previously unselected package python-pkg-resources.
(Reading database ... 209601 files and directories currently installed.)
Preparing to unpack .../python-pkg-resources_20.7.0-1_all.deb ...
Unpacking python-pkg-resources (20.7.0-1) ...
Setting up python-pkg-resources (20.7.0-1) ...
me@laptop:/home/me/Desktop >sudo neoman
me@laptop:/home/me/Desktop >neoman
ICE default IO error handler doing an exit(), pid = 15542, errno = 0
me@laptop:/home/me/Desktop >sudo neoman

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.