Package Details: protonvpn-cli 3.13.0-2

Git Clone URL: https://aur.archlinux.org/protonvpn-cli.git (read-only, click to copy)
Package Base: protonvpn-cli
Description: Official ProtonVPN Command Line Interface, maintained by the ProtonVPN team.
Upstream URL: https://github.com/ProtonVPN/
Keywords: cli protonvpn protonvpn-cli vpn
Licenses: GPL3
Groups: ProtonVPN
Submitter: protontechag
Maintainer: protontechag (calexandru2018, jllaneras)
Last Packager: calexandru2018
Votes: 104
Popularity: 2.26
First Submitted: 2021-05-28 16:33 (UTC)
Last Updated: 2022-09-14 15:15 (UTC)

Pinned Comments

XxTriviumxX commented on 2022-05-25 17:06 (UTC)

i can confirm theoldfellow's solution.

for paru users:

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

exprez135 commented on 2021-06-29 20:22 (UTC) (edited on 2021-07-12 20:55 (UTC) by exprez135)

Updates:

The new official Linux CLI client is now available. Source code and AUR protonvpn-cli. Please upgrade to this client if possible.

As for this community version, I think it should be maintained here for a while longer as there have still been git changes over the last week. The latest version is 2.2.11. This package is now marked as conflicting with the official protonvpn-cli package.

exprez135 commented on 2021-03-27 16:22 (UTC) (edited on 2021-03-27 16:22 (UTC) by exprez135)

Note: if upstream changes and the checksum needs to be updated, please try clean building to prevent caches from interfering.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 11 Next › Last »

zeroconf commented on 2022-05-26 21:13 (UTC) (edited on 2022-05-26 21:59 (UTC) by zeroconf)

Finally solved!

Firstly, remove all with dependencies:

$ yay -Rns protonvpn
checking dependencies...
:: python-pyparsing optionally requires python-jinja: for generating Railroad Diagrams
:: python-urllib3 optionally requires python-pyopenssl: security support
:: python-wheel optionally requires python-keyring: for wheel.signatures
:: smbclient optionally requires python-dnspython: samba_dnsupdate and samba_upgradedns in AD setup

Package (17)             Old Version  Net Change

protonvpn-cli            3.11.1-1      -0,15 MiB
protonvpn-gui            1.8.0-1       -8,66 MiB
python-bcrypt            3.2.0-5       -0,06 MiB
python-dnspython         1:2.2.1-1     -1,95 MiB
python-entrypoints       0.4-2         -0,03 MiB
python-gnupg             0.4.9-1       -0,18 MiB
python-jeepney           0.7.1-3       -0,43 MiB
python-jinja             1:3.1.2-1     -1,28 MiB
python-keyring           23.4.0-1      -0,22 MiB
python-markupsafe        2.1.1-1       -0,06 MiB
python-proton-client     0.7.1-1       -0,16 MiB
python-protonvpn-nm-lib  3.9.0-1       -0,89 MiB
python-pyopenssl         22.0.0-1      -0,54 MiB
python-pythondialog      3.5.3-1       -0,42 MiB
python-secretstorage     3.3.1-3       -0,09 MiB
python-systemd           234-11        -0,25 MiB
protonvpn                1.0.0-2        0,00 MiB

Total Removed Size:  15,36 MiB

:: Do you want to remove these packages? [Y/n] y

Then I installed all back from scratch (pressed Enter for default choice protonvpn, when asked; other choices also just Enter):

$ yay --cleanmenu --rebuild -Syyuu protonvpn
:: Synchronizing package databases...
 core                                                        155,2 KiB   226 KiB/s 00:01 [----------------------------------------------------] 100%
 extra                                                      1735,7 KiB  1920 KiB/s 00:01 [----------------------------------------------------] 100%
 community                                                     6,6 MiB  4,94 MiB/s 00:01 [----------------------------------------------------] 100%
 multilib                                                    172,3 KiB   232 KiB/s 00:01 [----------------------------------------------------] 100%
 endeavouros                                                  31,0 KiB   189 KiB/s 00:00 [----------------------------------------------------] 100%
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
:: There are 2 providers available for protonvpn:
:: Repository AUR
    1) protonvpn 2) openvpn-protonvpn 

Enter a number (default=1): 
==> 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo:12]  python-bcrypt-3.2.0-5  python-gnupg-0.4.9-1  python-pyopenssl-22.0.0-1  python-dnspython-1:2.2.1-1  python-entrypoints-0.4-2  python-jeepney-0.7.1-3  python-secretstorage-3.3.1-3  python-keyring-23.4.0-1  python-markupsafe-2.1.1-1  python-jinja-1:3.1.2-1  python-systemd-234-11  python-pythondialog-3.5.3-1
[Aur:5]  python-proton-client-0.7.1-1  python-protonvpn-nm-lib-3.10.0-2  protonvpn-cli-3.12.0-2  protonvpn-gui-1.9.0-2  protonvpn-1.0.0-2

:: (1/5) Downloaded PKGBUILD: python-proton-client
:: (2/5) Downloaded PKGBUILD: protonvpn
:: (3/5) Downloaded PKGBUILD: protonvpn-cli
:: (4/5) Downloaded PKGBUILD: python-protonvpn-nm-lib
:: (5/5) Downloaded PKGBUILD: protonvpn-gui
  5 python-proton-client             (Build Files Exist)
  4 python-protonvpn-nm-lib          (Build Files Exist)
  3 protonvpn-cli                    (Build Files Exist)
  2 protonvpn-gui                    (Build Files Exist)
  1 protonvpn                        (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/5) Parsing SRCINFO: python-proton-client
:: (2/5) Parsing SRCINFO: python-protonvpn-nm-lib
:: (3/5) Parsing SRCINFO: protonvpn-cli
:: (4/5) Parsing SRCINFO: protonvpn-gui
:: (5/5) Parsing SRCINFO: protonvpn
:: Synchronizing package databases...
 core                                                        155,2 KiB   269 KiB/s 00:01 [----------------------------------------------------] 100%
 extra                                                      1735,7 KiB  2,15 MiB/s 00:01 [----------------------------------------------------] 100%
 community                                                     6,6 MiB  3,71 MiB/s 00:02 [----------------------------------------------------] 100%
 multilib                                                    172,3 KiB   295 KiB/s 00:01 [----------------------------------------------------] 100%
 endeavouros                                                  31,0 KiB   172 KiB/s 00:00 [----------------------------------------------------] 100%
resolving dependencies...
looking for conflicting packages...

Package (12)                    New Version  Net Change  Download Size

community/python-bcrypt         3.2.0-5        0,06 MiB       0,03 MiB
community/python-dnspython      1:2.2.1-1      1,95 MiB       0,30 MiB
community/python-entrypoints    0.4-2          0,03 MiB       0,01 MiB
community/python-gnupg          0.4.9-1        0,18 MiB       0,04 MiB
community/python-jeepney        0.7.1-3        0,43 MiB       0,08 MiB
community/python-jinja          1:3.1.2-1      1,28 MiB               
community/python-keyring        23.4.0-1       0,22 MiB       0,05 MiB
extra/python-markupsafe         2.1.1-1        0,06 MiB       0,02 MiB
extra/python-pyopenssl          22.0.0-1       0,54 MiB       0,08 MiB
community/python-pythondialog   3.5.3-1        0,42 MiB       0,06 MiB
community/python-secretstorage  3.3.1-3        0,09 MiB       0,02 MiB
extra/python-systemd            234-11         0,25 MiB       0,05 MiB

Total Download Size:   0,75 MiB
Total Installed Size:  5,50 MiB

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

Then you can clean system after installation:

yay -Scc --noconfirm # clear caches without confirmation
yay -Yc # uninstall unneeded dependencies, needed temporarily during compilation

Checked: all removed components were installed back. Then finally new GUI started.

Final status of installed and working packages:

$ yay -Qs proton
local/protonvpn 1.0.0-2
   Official ProtonVPN metapackage that installs protonvpn-gui and protonvpn-cli, maintained by
   the ProtonVPN team.
local/protonvpn-cli 3.12.0-2 (ProtonVPN)
   Official ProtonVPN Command Line Interface, maintained by the ProtonVPN team.
local/protonvpn-gui 1.9.0-2 (ProtonVPN)
   Official ProtonVPN Graphical User Interface, maintained by the ProtonVPN team.
local/python-proton-client 0.7.1-1 (ProtonVPN)
   Official Proton API Python Client, maintained by the Proton(VPN/Mail) team.
local/python-protonvpn-nm-lib 3.10.0-2 (ProtonVPN)
   Official ProtonVPN NetworkManager Library, maintained by the ProtonVPN team.

zeroconf commented on 2022-05-26 20:36 (UTC) (edited on 2022-05-26 20:59 (UTC) by zeroconf)

I have to take my words back as ProtonVPN GUI does not start. I've sent same error logs to ProtonVPN Support as well. If you have similar issues - please send as well - then they will fix it faster if more users claim.

$ protonvpn
Traceback (most recent call last):
  File "/usr/bin/protonvpn", line 33, in <module>
    sys.exit(load_entry_point('protonvpn-gui==1.9.0', 'console_scripts', 'protonvpn')())
  File "/usr/bin/protonvpn", 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 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/protonvpn_gui/main.py", line 14, in <module>
    from proton.constants import VERSION as proton_version
ModuleNotFoundError: No module named 'proton'

Similar error happens with CLI version:

$ protonvpn-cli 
Traceback (most recent call last):
  File "/usr/bin/protonvpn-cli", line 33, in <module>
    sys.exit(load_entry_point('protonvpn-cli==3.12.0', 'console_scripts', 'protonvpn-cli')())
  File "/usr/lib/python3.10/site-packages/protonvpn_cli/main.py", line 20, in main
    from .cli import ProtonVPNCLI
  File "/usr/lib/python3.10/site-packages/protonvpn_cli/cli.py", line 4, in <module>
    from proton.constants import VERSION as proton_version
ModuleNotFoundError: No module named 'proton'

Removed again all like described previously and then tried also:

yay --cleanmenu --rebuild -Syyuu protonvpn

...still same issue. I usually always delete all cache after every installation:

yay -Scc --noconfirm

zeroconf commented on 2022-05-26 20:30 (UTC)

I can also confirm, that following commands solved current issue (for yay users):

yay -Rn protonvpn
yay -Rn protonvpn-gui
yay -Rn protonvpn-cli
yay -Syyuu protonvpn

XxTriviumxX commented on 2022-05-25 17:06 (UTC)

i can confirm theoldfellow's solution.

for paru users:

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

theoldfellow commented on 2022-05-25 16:37 (UTC)

Suggest you remove protonvpn, protonvpn-gui and protonvpn-cli first, then build protonvpn again. It fixed the conflict issues for me.

XxTriviumxX commented on 2022-05-25 16:16 (UTC)

i've got the same issue as zeroconf.

:: 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)
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

zeroconf commented on 2022-05-25 16:12 (UTC)

Any solution? Tried to update system, where ProtonVPN client both CLI and GUI are installed.

:: 3 Packages to upgrade.
3  aur/protonvpn-cli            3.11.1-1 -> 3.12.0-2
2  aur/protonvpn-gui            1.8.0-1  -> 1.9.0-2
1  aur/python-protonvpn-nm-lib  3.9.0-1  -> 3.10.0-2
..........
==> Cleaning up...
 -> python-protonvpn-nm-lib>=3.10.0 not satisfied, flushing install queue
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)
 -> exit status 1

Shall we look at protonvpn-cli-ng?

exprez135 commented on 2022-04-26 13:58 (UTC)

I've just updated the PKGBUILD to change to using GitHub's URL scheme "archive/refs/tags/" instead of just "archive/", as they apparently broke something in the background for us. Thanks for those who reported, and sorry for the delay in updating.

dreieck commented on 2022-04-26 11:28 (UTC)

Source file verification fails for me:

==> Validating source files with sha256sums...
    linux-cli-community-2.2.11.tar.gz ... FAILED

Thanks for maintaining!

<deleted-account> commented on 2022-04-20 07:10 (UTC)

How about changing the upstream URL to https://github.com/ProtonVPN/linux-cli?