Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#74918 - [yubikey-manager] 4.0.8-1 missing dependency python-six

Attached to Project: Community Packages
Opened by Zach Fichtler (zachfi) - Tuesday, 31 May 2022, 12:36 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 31 May 2022, 13:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Application ykman requires the python module 'six' but the package does not include python-six as a dependency.

Additional info:

❯ sudo pacman -S yubikey-manager-qt
resolving dependencies...
looking for conflicting packages...

Package (14) New Version Net Change Download Size

community/ccid 1.5.0-1 0.24 MiB 0.08 MiB
extra/python-cffi 1.15.0-3 1.02 MiB 0.22 MiB
community/python-click 8.1.3-1 0.89 MiB 0.15 MiB
extra/python-cryptography 37.0.1-1 3.85 MiB 0.81 MiB
community/python-fido2 0.9.3-3 1.00 MiB 0.20 MiB
extra/python-pycparser 2.21-3 1.39 MiB 0.19 MiB
extra/python-pyopenssl 22.0.0-1 0.54 MiB 0.08 MiB
community/python-pyotherside 1.5.9-2 0.27 MiB 0.08 MiB
community/python-pyscard 2.0.2-1 0.96 MiB 0.13 MiB
community/yubico-c 1.13-6 0.07 MiB 0.02 MiB
community/yubico-c-client 2.15-5 0.07 MiB 0.03 MiB
community/yubikey-manager 4.0.8-1 1.11 MiB 0.21 MiB
community/yubikey-personalization 1.20.0-3 0.21 MiB 0.06 MiB
community/yubikey-manager-qt 1.2.4-1 4.45 MiB 4.27 MiB

Total Download Size: 6.52 MiB
Total Installed Size: 16.06 MiB

:: Proceed with installation? [Y/n] y
[successful installation trimmed]

❯ ykman
Traceback (most recent call last):
File "/usr/bin/ykman", line 33, in <module>
sys.exit(load_entry_point('yubikey-manager==4.0.8', 'console_scripts', 'ykman')())
File "/usr/bin/ykman", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/ykman/__init__.py", line 28, in <module>
from .base import YUBIKEY, PID, YkmanDevice # noqa
File "/usr/lib/python3.10/site-packages/ykman/base.py", line 29, in <module>
from yubikit.management import USB_INTERFACE
File "/usr/lib/python3.10/site-packages/yubikit/management.py", line 47, in <module>
from .core.fido import FidoConnection
File "/usr/lib/python3.10/site-packages/yubikit/core/fido.py", line 29, in <module>
from fido2.ctap import CtapDevice
File "/usr/lib/python3.10/site-packages/fido2/__init__.py", line 29, in <module>
import six
ModuleNotFoundError: No module named 'six'

❯ sudo pacman -S python-six
resolving dependencies...
looking for conflicting packages...

Package (1) New Version Net Change

extra/python-six 1.16.0-5 0.09 MiB

Total Installed Size: 0.09 MiB

:: Proceed with installation? [Y/n] y
[successful installation trimmed]


❯ ykman
Usage: ykman [OPTIONS] COMMAND [ARGS]...

Configure your YubiKey via the command line.

Examples:

List connected YubiKeys, only output serial number:
$ ykman list --serials

Show information about YubiKey with serial number 0123456:
$ ykman --device 0123456 info

Options:
-d, --device SERIAL Specify which YubiKey to interact with by serial number.
-r, --reader NAME Use an external smart card reader. Conflicts with --device and list.
-l, --log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
Enable logging at given verbosity level.
--log-file FILE Write logs to the given FILE instead of standard error; ignored unless --log-level is also set.
--diagnose Show diagnostics information useful for troubleshooting.
-v, --version Show version information about the app
--full-help Show --help, including hidden commands, and exit.
-h, --help Show this message and exit.

Commands:
info Show general information.
list List connected YubiKeys.
config Enable or disable applications.
fido Manage the FIDO applications.
oath Manage the OATH application.
openpgp Manage the OpenPGP application.
otp Manage the YubiOTP application.
piv Manage the PIV application.



Steps to reproduce:

1. Install package 'yubikey-manager' onto a system lacking the python 'six' module.
2. Run application 'ykman' from command line.
3. Note python stack trace culminating in "ModuleNotFoundError: No module named 'six'"
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 31 May 2022, 13:48 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#74432 

Loading...