LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 05-29-2022, 05:41 PM   #1
AKM512
Member
 
Registered: May 2022
Posts: 38

Rep: Reputation: 0
Can't install ProtonVPN package from AUR


I tried to follow these instructions on the Arch Wiki and install this package from the AUR, but I can't install the official ProtonVPN client:
Code:
[austin@archlinux ~]$ git clone https://aur.archlinux.org/protonvpn.git
Cloning into 'protonvpn'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 0), reused 8 (delta 0), pack-reused 0
Receiving objects: 100% (8/8), done.
[austin@archlinux ~]$ cd protonvpn/
[austin@archlinux protonvpn]$ makepkg -si
==> Making package: protonvpn 1.0.0-2 (Sun 29 May 2022 03:34:10 PM PDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for austin: 
error: target not found: protonvpn-cli
error: target not found: protonvpn-gui
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> protonvpn-cli
  -> protonvpn-gui
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
Has anyone else had a similar problem?
 
Old 05-29-2022, 08:53 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
This is the PKGBUILD for that
https://aur.archlinux.org/cgit/aur.g...LD?h=protonvpn
Quote:
Missing dependencies:
-> protonvpn-cli
-> protonvpn-gui
Yup, those aren't in the repo.

You may want to try this one
https://aur.archlinux.org/cgit/aur.g...=protonvpn-gui
https://aur.archlinux.org/packages?K=protontechag&SeB=m

https://github.com/ProtonVPN/linux-app
https://github.com/ProtonVPN/linux-a.../protonvpn_gui
 
Old 05-30-2022, 12:23 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by AKM512 View Post
I tried to follow [URL="https://wiki.archlinux.org/title/ProtonVPN#Official_ProtonVPN_Client"]...
Code:
==> Missing dependencies:
  -> protonvpn-cli
  -> protonvpn-gui
The package depends on other packages that re not available in Archlinux' repos, most likely in the AUR. So you have to build/install those first, then try again:
https://aur.archlinux.org/packages?K=protonvpn
Also look at the comments for these packages, if you run into further problems: https://aur.archlinux.org/packages/protonvpn
 
Old 05-30-2022, 01:01 AM   #4
AKM512
Member
 
Registered: May 2022
Posts: 38

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
The package depends on other packages that re not available in Archlinux' repos, most likely in the AUR. So you have to build/install those first, then try again:
https://aur.archlinux.org/packages?K=protonvpn
Also look at the comments for these packages, if you run into further problems: https://aur.archlinux.org/packages/protonvpn
Forgive me, I'm relatively new to Arch; where would I find those other packages in the AUR? Are they the same as the two dependencies
Code:
protonvpn-cli
and
Code:
protonvpn-gui
? Thanks.
 
Old 05-30-2022, 08:01 AM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
That's why I posted the PKGBUILD

Code:
pkgdesc="Official ProtonVPN metapackage that installs protonvpn-gui and protonvpn-cli, maintained by the ProtonVPN team."

depends=("protonvpn-cli" "protonvpn-gui")
Looks like you are going to have to build them. And then install them. Or get it and install it.

Here is protonvpn_gui
https://github.com/ProtonVPN/linux-a.../protonvpn_gui
Looks like a bunch of python.
https://aur.archlinux.org/cgit/aur.g...=protonvpn-gui

protonvpn-cli
https://aur.archlinux.org/cgit/aur.g...=protonvpn-cli
https://aur.archlinux.org/packages/protonvpn-cli

You might want to contact the maintainer for more instructions. Also look at the comments.

Quote:
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:
...
 
Old 05-30-2022, 04:01 PM   #6
AKM512
Member
 
Registered: May 2022
Posts: 38

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
The package depends on other packages that re not available in Archlinux' repos, most likely in the AUR. So you have to build/install those first, then try again:
https://aur.archlinux.org/packages?K=protonvpn
Also look at the comments for these packages, if you run into further problems: https://aur.archlinux.org/packages/protonvpn
Does this mean I need to uninstall the failed
Code:
protonvpn
and
Code:
protonvpn-gui
packages first? If I need to uninstall them, can I use
Code:
pacman -R $pkgname
like this thread suggests, or do I need to use something different?

EDIT: Using pacman as described on the ArchWiki here doesn't seem to work.

Code:
[austin@archlinux ~]$ sudo pacman -Rs protonvpn
[sudo] password for austin: 
error: target not found: protonvpn
[austin@archlinux ~]$

Last edited by AKM512; 05-30-2022 at 04:06 PM. Reason: Update
 
Old 05-30-2022, 10:45 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by AKM512 View Post
Does this mean I need to uninstall the failed
Code:
protonvpn
and
Code:
protonvpn-gui
packages first?
Your OP does not state that you already installed protonvpn-gui.
Quote:
If I need to uninstall them, can I use
Code:
pacman -R $pkgname
Yes.

Quote:
Originally Posted by AKM512 View Post
I tried to follow these instructions on the Arch Wiki and install this package from the AUR
There are no installation instructions in that chapter - it literally just says "Install the metapackage protonvpn[AUR]".
In cases like this, you need to search the arch wiki on how to install AUR packages, and how dependencies on the AUR work. Tip: there is a page named "AUR" on the arch wiki. It says: " If the package depends on other AUR packages, you will need to manually install them first."
It really is as simple as that.

All in all you need to understand that the AUR is not Archlinux' package management.
It's all explained on Arch wiki.
 
Old 05-30-2022, 10:57 PM   #8
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Just did the same thing, had no issues whatsoever.
Code:
yay -Rcsn protonvpn
yay -S protonvpn
Worked perfectly fine.
 
Old 05-30-2022, 11:15 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Timothy Miller View Post
Just did the same thing, had no issues whatsoever.
Code:
yay -Rcsn protonvpn
yay -S protonvpn
Worked perfectly fine.
That's because you're using an AUR helper with dependency resolving.
There's nothing wrong with that, but ArchLinux recommends to do it manually with makepkg - at least at first, to understand what the AUR is and how it works, which is what OP is doing.

Again: the AUR is not ArchLinux package management. Neither is yay.
While the AUR is growing, it is imperial to understand how it ties in with pacman.
 
Old 05-31-2022, 10:12 AM   #10
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Quote:
Originally Posted by ondoho View Post
That's because you're using an AUR helper with dependency resolving.
There's nothing wrong with that, but ArchLinux recommends to do it manually with makepkg - at least at first, to understand what the AUR is and how it works, which is what OP is doing.

Again: the AUR is not ArchLinux package management. Neither is yay.
While the AUR is growing, it is imperial to understand how it ties in with pacman.

That's not the point, point is that if it worked, it means there's no issues with any of the packages. OP just needs to uninstall all the old packages that have issues, and install the new packages in the correct order.
 
Old 05-31-2022, 10:54 AM   #11
AKM512
Member
 
Registered: May 2022
Posts: 38

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
Your OP does not state that you already installed protonvpn-gui.

Yes.



There are no installation instructions in that chapter - it literally just says "Install the metapackage protonvpn[AUR]".
In cases like this, you need to search the arch wiki on how to install AUR packages, and how dependencies on the AUR work. Tip: there is a page named "AUR" on the arch wiki. It says: " If the package depends on other AUR packages, you will need to manually install them first."
It really is as simple as that.

All in all you need to understand that the AUR is not Archlinux' package management.
It's all explained on Arch wiki.
Okay, I don't think they're installed because:

Code:
[austin@archlinux ~]$ sudo pacman -R protonvpn
[sudo] password for austin: 
error: target not found: protonvpn
[austin@archlinux ~]$ sudo pacman -R $protonvpn
error: no targets specified (use -h for help)
[austin@archlinux ~]$ sudo pacman -R protonvpn-gui
error: target not found: protonvpn-gui
[austin@archlinux ~]$
So, I'll try installing them in order, and see if that works.
 
Old 03-14-2023, 02:01 PM   #12
TheExplorer
LQ Newbie
 
Registered: Nov 2017
Posts: 14

Rep: Reputation: Disabled
I don't know if you managed to compile/run ProtonVPN, but I chose an easier way out: downloaded their .ovpn config, installed openvpn and:

Quote:
sudo openvpn config.ovpn
Much easier, less headache. Sorry for bumping an old thread.
 
1 members found this post helpful.
  


Reply

Tags
arch linux, compile, vpn, vpnclient



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install Package From AUR on Arch or Manjaro LXer Syndicated Linux News 0 10-31-2021 06:33 PM
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Correct way to install an AUR package JonBardo Arch 4 12-02-2020 09:27 AM
[SOLVED] unable to install package-query-1.5 from AUR 1asipper Linux - Newbie 2 01-31-2015 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration