You are not logged in.

#1 2021-12-19 07:50:40

dead101
Member
Registered: 2021-12-07
Posts: 21

Pacman doesn't show the protonvpn-cli in the database

I recently had a problem with the protonvpn-cli and I deleted it. Now I can't install it again as pacman doesn't show the package.

[dead@dead protonvpn-cli]$ sudo pacman -S protonvpn-cli
[sudo] password for dead: 
error: target not found: protonvpn-cli

And when I try to build it from source code it also gives me this error.

[dead@dead protonvpn-cli]$ makepkg -si
==> Making package: protonvpn-cli 3.11.0-1 (Sun Dec 19 13:15:38 2021)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: python-protonvpn-nm-lib
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> python-protonvpn-nm-lib
  -> python-pythondialog
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

None of protonvpn apps are recognized by the pacman. What to do now?

Offline

#2 2021-12-19 08:16:35

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 331

Re: Pacman doesn't show the protonvpn-cli in the database

The missing dependencies are in AUR too, install them first.
You can use the --asdeps flag to mark them as installed as dependencies, so when you later uninstall protonvpn-cli, they will go too.

Offline

#3 2021-12-19 08:28:56

progandy
Member
Registered: 2012-05-17
Posts: 5,193

Re: Pacman doesn't show the protonvpn-cli in the database

dead101 wrote:

I recently had a problem with the protonvpn-cli and I deleted it. Now I can't install it again as pacman doesn't show the package.

After you have rebuilt your package you can add it to a local repository if you want.

https://wiki.archlinux.org/title/Pacman … repository
(In the AUR there is a tool to make that easier called repoctl. It can also help with downloading dependencies, but you still have to build with makepkg. Docs: https://github.com/cassava/repoctl)

Last edited by progandy (2021-12-19 10:58:02)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2021-12-19 10:45:54

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,860
Website

Re: Pacman doesn't show the protonvpn-cli in the database

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2021-12-19 16:44:02

dead101
Member
Registered: 2021-12-07
Posts: 21

Re: Pacman doesn't show the protonvpn-cli in the database

Ferdinand wrote:

You can use the --asdeps flag to mark them as installed as dependencies

If you meant this, then it's not still working.

 
[dead@dead ~]$ sudo pacman -S --asdeps protonvpn-cli 
[sudo] password for dead: 
error: target not found: protonvpn-cli

Btw, I have to say that I can't even install dependencies. I mena literally there's no package named protonvpn.

[dead@dead ~]$ sudo pacman -Ss protonvpn
[dead@dead ~]$ 

Last edited by dead101 (2021-12-19 16:46:50)

Offline

#6 2021-12-19 16:57:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: Pacman doesn't show the protonvpn-cli in the database

So you skipped the first sentence.  Those are AUR packages, you cannot install them with pacman.  Read the wiki page on using the AUR.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2021-12-20 12:09:32

dead101
Member
Registered: 2021-12-07
Posts: 21

Re: Pacman doesn't show the protonvpn-cli in the database

Trilby wrote:

Those are AUR packages, you cannot install them with pacman

Well then I installed with AUR helper yay. With following command I was able to download the protonvpn-cli package.

yay -S protonvpn-cli

Though it is downloaded, I'm still having some problems. I can't use protonvpn-cli command and it gives following error.

[dead@dead ~]$ protonvpn-cli init
Traceback (most recent call last):
  File "/usr/bin/protonvpn-cli", line 33, in <module>
    sys.exit(load_entry_point('protonvpn-cli==3.11.0', 'console_scripts', 'protonvpn-cli')())
  File "/usr/bin/protonvpn-cli", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration

Offline

#8 2021-12-20 13:09:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: Pacman doesn't show the protonvpn-cli in the database

So that's a completely different problem and should be in a new thread.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2021-12-20 13:28:46

dead101
Member
Registered: 2021-12-07
Posts: 21

Re: Pacman doesn't show the protonvpn-cli in the database

Trilby wrote:

that's a completely different problem

I think it's better to open an issue in github repo of Protonvpn. Btw the protonvpn got messed up because of massive upgrade of python this week. That's why all of these things driving me up the wall. Anyway thank you all.

Offline

Board footer

Powered by FluxBB