Bug 31607

Summary: python-yubikey-manager imported which duplicates yubikey-manager
Product: Mageia Reporter: Guillaume Rousse <guillomovitch>
Component: RPM PackagesAssignee: Bruno Cornec <bruno>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: jani.valimaa
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: yubikey-manager, python-yubikey-manager CVE:
Status comment:

Description Guillaume Rousse 2023-02-27 12:39:14 CET
Those two packages actually ship the same codebase, even if they refer to different sources URL:
* yubikey-manager: https://developers.yubico.com/yubikey-manager/
* python-yubikey-manager: https://github.com/Yubico/yubikey-manager

As a result of this confusion, they have different versions (3.1.1 vs 4.0.9), and they conflict on /usr/bin/ykman, preventing simultaneous installation of yubikey-manager and yubikey-manager-qt:
Installation failed:	file /usr/bin/ykman from install of yubikey-manager-3.1.1-2.mga8.noarch conflicts with file from package python3-yubikey-manager-3.1.1-1.mga8.x86_64

Fedora produce the same binary packages from a single source package, which seems to be the best option here:
https://src.fedoraproject.org/rpms/yubikey-manager
Comment 1 David Walser 2023-02-27 17:06:28 CET
python-yubikey-manager mistakenly imported by Bruno.

Priority: Normal => release_blocker
Summary: Packaging duplicates => python-yubikey-manager imported which duplicates yubikey-manager
CC: (none) => jani.valimaa
Assignee: bugsquad => bruno

Comment 2 Jani Välimaa 2023-02-28 18:25:17 CET
Added obsoletes and provides for python3-yubikey-manager to yubikey-manager-4.0.9-2.mga9, and moved python-yubikey-manager to obsolete tree in SVN.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 3 Bruno Cornec 2023-02-28 22:52:02 CET
Thanks for fixing my mistake !