Bug 32556

Summary: protonvpn fails with Mageia 9
Product: Mageia Reporter: Holger Mainz <Ed_Werder>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: Normal CC: lewyssmith
Version: 9   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: protonvpn-stable-release.noarch 1.0.1-2 CVE:
Status comment:

Description Holger Mainz 2023-11-23 18:10:51 CET
Hello !
After the upgrade to Mageia 9, protonvpn does not work anymore.

The Exec command gives back an error
localhost➜  ~  ⯈ protonvpn c
Traceback (most recent call last):
  File "/usr/local/bin/protonvpn", line 5, in <module>
    from protonvpn_cli.cli import main
ModuleNotFoundError: No module named 'protonvpn_cli'
localhost➜  ~  ⯈ 

With the help of the protonvpn support, i have set up the repos to Fedora 39 and reinstalled the whole f***, with no result.

That is the yum.repos.d
[repo.protonvpn.com_fedora-39-stable]
name=created by dnf config-manager from https://repo.protonvpn.com/fedora-39-stable
baseurl=https://repo.protonvpn.com/fedora-39-stable
enabled=1

gpgcheck = 1 
repo_gpgcheck=1
gpgkey = https://repo.protonvpn.com/fedora-39-stable/public_key.asc

The protonvpn-fedora-stable came with the fresh install or by updating the repos.
# dnf check-update
ProtonVPN Fedora Stable repository              1.0 kB/s | 153  B     00:00    
Errors during downloading metadata for repository 'protonvpn-fedora-stable':
  - Status code: 404 for https://repo.protonvpn.com/fedora-9-stable/repodata/repomd.xml (IP: 172.67.70.114)
Error: Failed to download metadata for repo 'protonvpn-fedora-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried 

The official source should be repo.protonvpn.com_fedora-39-stable.

python3-gobject-3.44.1-1.mga9.x86_64 is installed
Comment 1 Jani Välimaa 2023-11-23 19:57:01 CET
Mageia != Fedora, so you can't use Fedora 39 repos with Mageia 9.

Please remove Fedora repos, and install official Mageia 9 pkg. Your protonvpn is binary is in /usr/local/bin so it's not the official one from Mageia 9 repo.

$ urpmf bin/protonvpn
python3-protonvpn-cli:/usr/bin/protonvpn

python3-protonvpn-cli pkg also provides protonvpn_cli module.
Comment 2 Holger Mainz 2023-11-23 21:21:53 CET
Ah, my bad. I thought the rpm was from the earlier manual installation. Case closed, i would say.
Comment 3 Lewis Smith 2023-11-23 22:27:11 CET
Thanks Jani.

@Holger
Please say what happens next.

CC: (none) => lewyssmith

Comment 4 Holger Mainz 2023-11-23 23:28:15 CET
(In reply to Lewis Smith from comment #3)
> Thanks Jani.
> 
> @Holger
> Please say what happens next.

Ahm nothing special. I ticked the package and it started right away via konsole without asking for a pw.
Comment 5 Lewis Smith 2023-11-24 22:20:35 CET
Looks OK!

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