Bug 33598 - Installation of packaged third-party software (NordVPN) fails because requirement libidn2_0 only Provides Mageia-specific libidn2_0 but not generic libidn2
Summary: Installation of packaged third-party software (NordVPN) fails because require...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: x86_64 Linux
Priority: Normal minor
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-09-28 11:23 CEST by Guy Bormann
Modified: 2024-10-04 07:27 CEST (History)
4 users (show)

See Also:
Source RPM: libidn2-2.3.4-3.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Guy Bormann 2024-09-28 11:23:36 CEST
Description of problem:
Installation of packaged third-party software (NordVPN) depending on shared library libidn2.so fails because libidn2_0 only has Mageia-release-specific Provides but no generic libidn2 Provides (for libidn v2) that the CentOS RPM package requires.

The install.sh script (see "Steps to Reproduce") can be modified to download only the package and then force-install it using e.g. urpmi with --allow-nodeps

Version-Release number of selected component (if applicable):
libidn2_0-2.3.4-3.mga9

How reproducible:
Every single time.

Steps to Reproduce:
1. Follow the instructions on https://support.nordvpn.com/hc/en-us/articles/20398178360849-Installing-NordVPN-on-Fedora-QubesOS-Linux
2.
3.
Comment 1 David GEIGER 2024-09-28 14:48:01 CEST
Please test with the upcoming lib64idn2-2.3.4-3.1.mga9 in 9/Core/Updates_testing repo!

CC: (none) => geiger.david68210

Comment 2 Guy Bormann 2024-09-29 21:13:33 CEST
That worked! Thanks for your prompt action!

Hopefully this will not conflict with a 'future' requirement of another 3rd-party package for a 32-bit version of libidn2 but I guess you'll have to deal with it when it occurs rather than deny a solution for an actual issue as the one I reported.
Comment 3 David GEIGER 2024-09-30 06:21:17 CEST
Assigning to QA,

Packages in 9/Core/Updates_testing:
======================
idn2-2.3.4-3.1.mga9
libidn2-devel-2.3.4-3.1.mga9
libidn2_0-2.3.4-3.1.mga9
lib64idn2-devel-2.3.4-3.1.mga9
lib64idn2_0-2.3.4-3.1.mga9
libidn2-i18n-2.3.4-3.1.mga9.noarch.rpm

From SRPMS
libidn2-2.3.4-3.1.mga9.src.rpm

Assignee: bugsquad => qa-bugs

David GEIGER 2024-09-30 06:21:41 CEST

Source RPM: (none) => libidn2-2.3.4-3.mga9.src.rpm

Comment 4 Herman Viaene 2024-09-30 10:39:07 CEST
MGA9-64 server Plasma Wayland on HP-Pavillion
No installation issues.
first testing as in bug 25652:
$  idn2 --version
idn2 (Libidn2) 2.3.4
Copyright (C) 2011-2022 Simon Josefsson, Tim Ruehsen.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Simon Josefsson, Tim Ruehsen.
$ idn2 --help
Usage: idn2 [OPTION]... [STRINGS]...
Internationalized Domain Name (IDNA2008) convert STRINGS, or standard input.

Command line interface to the Libidn2 implementation of IDNA2008.

All strings are expected to be encoded in the locale charset.

To process a string that starts with `-', for example `-foo', use `--'
to signal the end of parameters, as in `idn2 --quiet -- -foo'.

Mandatory arguments to long options are mandatory for short options too.
  -h, --help                Print help and exit
  -V, --version             Print version and exit
  -d, --decode              Decode (punycode) domain name
  -l, --lookup              Lookup domain name (default)
  -r, --register            Register label
  -T, --tr46t               Enable TR46 transitional processing
  -N, --tr46nt              Enable TR46 non-transitional processing
      --no-tr46             Disable TR46 processing
      --usestd3asciirules   Enable STD3 ASCII rules
      --no-alabelroundtrip  Disable A-label roundtrip for lookups
      --debug               Print debugging information
      --quiet               Silent operation

Report bugs to: help-libidn@gnu.org
Libidn2 home page: <https://www.gnu.org/software/libidn/#libidn2>
General help using GNU software: <https://www.gnu.org/gethelp/>
$ idn2 --quiet
räksmörgås.se (this is input by me) 
xn--rksmrgs-5wao1o.se (feedback received)
^C
$ idn2 räksmörgås.se blåbærgrød.no
xn--rksmrgs-5wao1o.se
xn--blbrgrd-fxak7p.no

So far so good, now installation of nordvpn
# sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)
/usr/bin/dnf
Adding repo from: https://repo.nordvpn.com//yum/nordvpn/centos/x86_64
determining the fastest mirror (10 hosts).. done.                 [===                                                          ] ---  B/s |   0  B     --:-- ETA
Mageia 9 - x86_64                                                                                                                 3.8 MB/s |  38 MB     00:10    
determining the fastest mirror (5 hosts).. done.                  [               ===                                           ] ---  B/s |   0  B     --:-- ETA
Mageia 9 - x86_64 - Updates                                                                                                       393 kB/s |  29 MB     01:16    
created by dnf config-manager from https://repo.nordvpn.com//yum/nordvpn/centos/x86_64                                            5.7 kB/s | 6.6 kB     00:01    
Last metadata expiration check: 0:00:02 ago on Mon 30 Sep 2024 10:18:09.
Dependencies resolved.
==================================================================================================================================================================
 Package                       Architecture                 Version                        Repository                                                        Size
==================================================================================================================================================================
Installing:
 nordvpn                       x86_64                       3.18.5-1                       repo.nordvpn.com_yum_nordvpn_centos_x86_64                        46 M

Transaction Summary
==================================================================================================================================================================
Install  1 Package

Total download size: 46 M
Installed size: 121 M
Is this ok [y/N]: y
Downloading Packages:
nordvpn-3.18.5-1.x86_64.rpm                                                                                                       5.8 MB/s |  46 MB     00:07    
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                             5.8 MB/s |  46 MB     00:07     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                          1/1 
  Installing       : nordvpn-3.18.5-1.x86_64                                                                                                                  1/1 
  Running scriptlet: nordvpn-3.18.5-1.x86_64                                                                                                                  1/1 
Adding user tester9 to the group nordvpn

NordVPN for Linux successfully installed!
To get started, please re-login or execute `su - $USER` in the current shell, type 'nordvpn login' and enter your NordVPN account details. Then type 'nordvpn connect' and you’re all set! To allow other users to use the application run 'usermod -aG nordvpn otheruser'. If you need help using the app, use the command 'nordvpn --help'.

  Verifying        : nordvpn-3.18.5-1.x86_64                                                                                                                  1/1 

Installed:
  nordvpn-3.18.5-1.x86_64                                                                                                                                         

Complete!

That should do it

CC: (none) => herman.viaene
Whiteboard: (none) => MGA9-64-OK

Comment 5 Thomas Andrews 2024-10-01 13:45:09 CEST
Validating.

CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update

katnatek 2024-10-01 20:07:24 CEST

Keywords: (none) => advisory

Comment 6 Mageia Robot 2024-10-04 07:27:49 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0204.html

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


Note You need to log in before you can comment on or make changes to this bug.