Package Details: python-protonvpn-nm-lib 3.11.0-1

Git Clone URL: https://aur.archlinux.org/python-protonvpn-nm-lib.git (read-only, click to copy)
Package Base: python-protonvpn-nm-lib
Description: Official ProtonVPN NetworkManager Library, maintained by the ProtonVPN team.
Upstream URL: https://github.com/ProtonVPN
Licenses: GPL3
Conflicts: protonvpn-cli, protonvpn-gui
Submitter: protontechag
Maintainer: protontechag (calexandru2018)
Last Packager: calexandru2018
Votes: 19
Popularity: 3.00
First Submitted: 2021-05-28 15:51 (UTC)
Last Updated: 2022-06-07 13:13 (UTC)

Pinned Comments

XxTriviumxX commented on 2022-05-25 17:08 (UTC) (edited on 2022-05-28 13:01 (UTC) by XxTriviumxX)

a solution was found by the user theoldfellow here:

https://aur.archlinux.org/packages/protonvpn-cli

solution for paru users:

paru -R protonvpn
paru -R protonvpn-gui
paru -R protonvpn-cli
paru -S protonvpn

Latest Comments

iyanmv commented on 2022-05-27 15:00 (UTC)

I just sent you an email, but I write it here as well.

Please, consider removing the conflict array. I think it doesn't make sense to include both the version requirements in the depend arrays of protonvpn-gui and protonvpn-cli, and the conflict array here as well.

calexandru2018 commented on 2022-05-26 08:22 (UTC) (edited on 2022-05-26 08:22 (UTC) by calexandru2018)

@Benato12 if you look closely at the previous and current PKGBUILD both require different minimum versions of the CLI and GUI, otherwise the clients would not work due to compatibility issues.

Benato12 commented on 2022-05-25 23:36 (UTC)

@XxTriviumxX I can confirm that solution works for me as well, but that doesn't really explain why this package is listed as conflicting with protonvpn-gui and protonvpn-cli when those packages require this one as a dependency. Thanks for the help anyway!

XxTriviumxX commented on 2022-05-25 17:08 (UTC) (edited on 2022-05-28 13:01 (UTC) by XxTriviumxX)

a solution was found by the user theoldfellow here:

https://aur.archlinux.org/packages/protonvpn-cli

solution for paru users:

paru -R protonvpn
paru -R protonvpn-gui
paru -R protonvpn-cli
paru -S protonvpn

XxTriviumxX commented on 2022-05-25 16:04 (UTC) (edited on 2022-05-25 16:14 (UTC) by XxTriviumxX)

i have the exact same issue as Benato12. protonvpn is broken right now, i cant connect with the cli or the gui. probably because of their massive protonmail/protonvpn service upgrades/changes that occured today.

my paru output when i was updating my system:

:: python-protonvpn-nm-lib and protonvpn-cli are in conflict. Remove protonvpn-cli? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: python-protonvpn-nm-lib and protonvpn-cli are in conflict (protonvpn-cli<3.12.0)
loading packages...
resolving dependencies...
looking for conflicting packages...
:: python-protonvpn-nm-lib and protonvpn-cli are in conflict. Remove protonvpn-cli? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: python-protonvpn-nm-lib and protonvpn-cli are in conflict (protonvpn-cli<3.12.0)
error: packages failed to build: protonvpn-cli-3.12.0-2  protonvpn-gui-1.9.0-2

Benato12 commented on 2022-05-25 15:53 (UTC)

Maybe I'm missing something here, but I'm a little confused about how this package can conflict with the protonvpn-cli and protonvpn-gui packages, yet both of those packages require python-protonvpn-nm-lib (this package) as a dependency. Wouldn't that mean that the two can't be installed together, but they both need to be installed for protonvpn-gui to function? Can someone clarify for me please?

pychuang commented on 2022-04-24 10:11 (UTC)

python-keyring should be an optional dependency. With python-keyring, protonvpn-cli saves credentials with a system's secret service (e.g., gnome-keyring, kwallet, keepassxc, etc.). Without python-keyring, protonvpn-cli just save credentials in plain text in $XDG_DATA_DIR. Though plain text is not desired, from the viewpoint of packaging, python-keyring is not a mandatory dependency.

bifkit commented on 2021-12-14 19:18 (UTC)

The PKGBUILD includes "protonvpn-cli<1.7.0," and I think it ought to be "protonvpn-gui<1.7.0" instead.

I don't know if this is causing trouble for anyone or not, because I don't use the gui, but I figured I should mention it.

zeroconf commented on 2021-12-07 18:23 (UTC)

This worked for me: install protonvpn-cli explicitly and then update rest of packages.

yay -Sy
yay -S protonvpn-cli
yay -Syyuu

zeroconf commented on 2021-12-07 10:28 (UTC) (edited on 2021-12-07 10:37 (UTC) by zeroconf)

Got error messages and cannot update :( What shall we do?

:: 3 Packages to upgrade.
3  aur/protonvpn-cli            3.10.1-1 -> 3.11.0-1
2  aur/protonvpn-gui            1.6.0-1  -> 1.7.0-1
1  aur/python-protonvpn-nm-lib  3.6.1-1  -> 3.7.0-1

loading packages...
resolving dependencies...
looking for conflicting packages...
:: python-protonvpn-nm-lib and protonvpn-cli are in conflict. Remove protonvpn-cli? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: python-protonvpn-nm-lib and protonvpn-cli are in conflict (protonvpn-cli<3.11.0)
 -> exit status 1

mahdi commented on 2021-11-26 12:10 (UTC)

Traceback (most recent call last):
  File "/home/m2/.cache/yay/python-proton-client/src/proton-python-client-0.7.1/setup.py", line 3, in <module>
    from setuptools import setup, find_packages
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 18, in <module>
    from setuptools.dist import Distribution
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 38, in <module>
    from setuptools import windows_support
  File "/usr/lib/python3.9/site-packages/setuptools/windows_support.py", line 2, in <module>
    import ctypes
  File "/usr/lib/python3.9/ctypes/__init__.py", line 8, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.7: cannot open shared object file: No such file or directory

calexandru2018 commented on 2021-09-23 21:47 (UTC)

@zeroconf reinstalling the application should be enough

zeroconf commented on 2021-09-23 18:30 (UTC) (edited on 2021-09-23 18:35 (UTC) by zeroconf)

The "yay -Syyuu protonvpn" didn't help, had to use "yay -Rsn protonvpn" and then first command again. But works now, thanks for hint!

zeroconf commented on 2021-09-23 17:07 (UTC) (edited on 2021-09-23 17:10 (UTC) by zeroconf)

Errors with updating (won't update):

:: python-proton-client and python-protonvpn-nm-lib are in conflict. Remove python-protonvpn-nm-lib? [y/N] error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: python-proton-client and python-protonvpn-nm-lib are in conflict (python-protonvpn-nm-lib<3.4.0)

adomas commented on 2021-08-23 18:57 (UTC)

It seems that package extra/python-gobject is mandatory, but not pulled as dependency. Without it protonvpn-cli lets you login to Proton, but you can't connect to any server, as it fails with Python errors.

calexandru2018 commented on 2021-07-31 19:09 (UTC)

@mjboa you're half right, gnome-keyring and kwallet should be suggestions while network-manager-applet is not needed. I'm running on Manjaro and nm-applet is not present on my system.

mjboa commented on 2021-07-31 17:13 (UTC)

Both gnome-keyring and network-manager-applet are missing as dependencies and seem to be required for protonvpn to work.

Alfred456654 commented on 2021-06-24 07:29 (UTC)

@Ext update protonvpn-gui first, it will pull this library as a dependency.

Ext commented on 2021-06-24 00:48 (UTC)

installing python-protonvpn-nm-lib (3.3.1-2) breaks dependency 'python-protonvpn-nm-lib<3.3.0' required by protonvpn-gui.