I did nothing and I’m all out of ideas!

  • 1 Post
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle
  • So, I can’t install aur packages via pacman?

    Nope, you have to do it manually or using an helper that abstracts the manual work away.

    AUR packages, or to be more precise the PKGBUILD files, are recipes to compile or download stuff outside from the official repositories, manage their deps and installing them on the system.

    You should always only run PKGBUILD files that you trust, they can do basically anything on your system. Checking the comments of the package in the aur repo is a good practice too.

    Also Are you quoting certain nExT gEn gAmE guy?

    …maybe


  • Also in wiki they didn’t mention anything about OpenSSL?

    Sorry, that was my bad, I wrote OpenSSL instead of openvpn. That one is probably needed too, but you should not have to pull it manually.

    Generally speaking the ArchWiki is one of the best, more structured and well maintained source of information about Linux things even for other distros, but it can too be outdated, so you should always check if the info is valid. In this case it seems so.

    In theory you should be able to just install proton-vpn-gtk-app using one of the many AUR helpers and it should Just Work™. Paru and yay are the most commonly used ones - as far as I know - and they wrap around pacman too, so you can use them to do everything packages related. Usually Arch related distro use one of them, for example EndeavourOS have yay already installed.

    At worst when you try to start protonvpn the GUI will not appear or immediately crash: if that happens, usually, you can try and run the program from the Shell and see what kind of error it returns and work your way from there. Checking if the deps listed in the wiki are installed is always a great first step.


  • Reading rorschac’s comment I assume both OpenSSL and wireguard are already installed on CachyOS, or anyway pulled by the aur package.

    If you want to make sure you can install them explicitly before protonvpn:

    paru openvpn wireguard-tools
    

    or using yay or the vanilla pacman -Syu --needed openvpn wireguard-tools (it will sync and update the system too) or how it is suggested for CachyOS to install packages. I repeat I’ve no direct experience with that one.

    If you are scared to mess things up you can always spin up a VM with CachyOS and try to install it inside that. If it all works you can then do the same on your main OS.

    As a general advice, only run in your shell commands that you are sure about.








  • disable this system security feature temporarily,

    This should be - if I’m not mistaken - possible using the pip env var I posted about earlier, like this:

    PIP_BREAK_SYSTEM_PACKAGES=1 sudo apt install howdy

    Or exporting it for the current shell, before running the installation

    export PIP_BREAK_SYSTEM_PACKAGES=1

    But I personally highly discourage it, because - AFAIK - if it even works it will mess up the deps in your system.


  • I’m no python expert but reading around it seems your only real solution is using a virtual environment, through pipx or venv as you already had found out, or using the

    --break-system-packages
    
    * Allow pip to modify an EXTERNALLY-MANAGED Python installation
    
      (environment variable: `PIP_BREAK_SYSTEM_PACKAGES`)
    

    pip flag which, as the name suggest, should be avoided.

    EDIT: After rereading I got your problem better and I was trying to read the source for Howdy to see how to do it, so far no luck.