I have a Steam Deck and I’ve been trying to install packages from AUR and have gotten nothing but endless errors trying to do so. The dependencies I want to install have dependencies which have dependencies which have dependencies.

So I’ve been having so many issues trying to install packages from AUR(or anywhere that isn’t the discover store via konsole). I’m coming from Windows where everything is a simple GUI installer and everything is easy to install.

My experience with Linux has unfortunately been a bit of a nightmare. I’ll search for a thread on how to install something, and generally the thread responses will have something akin to “just install it with yay or paru, then type this command”.

In my experience it has never been that simple. Installing yay or paru first have multiple dependencies, which I’ll run into numerous pacman errors, keyring errors, needing to add repos, etc.

Even worse, those dependencies have dependencies, which frequently then have a third or fourth level of recursion where those dependencies also have dependencies.

Something that I expected to take 2-5 minutes becomes a three to four hour nightmare of googling to find the various commands needed to get those installed, and then I’ll hit an issue where something like an invalid signature prevents a fourth level dependency required to install the original package without a solution that I can find, which basically means I just wasted 3-4 hours of my time.

And that has happened at least 5 times at this point with various software/programs.

So, a Decky plugin which adds all the required repos, installs a GUI AUR package manager such as Pamac, updates and verifies all the package keyring files needed to install something from AUR, installs all the possible dependencies that could be needed for AUR packages, installs the needed base devel packages(using this command: pacman -S --needed git base-devel), fixes signature has unknown trust issues;

Optionally removes the requirement/need to type sudo in front of any command(which has to be toggled with multiple warnings to prevent inexperienced users from wantonly enabling it), runs: gpg --refresh-keys), runs these commands(pacman-key --init, pacman-key --populate, pacman-key --refresh-keys, pacman -Sy archlinux-keyring) and anything else needed to update the pacman keyring and keep it updated, removes the need to type -S after pacman to install packages from Konsole, easily toggles disabling the Steam OS read only file system;

Integrates the first togglable functionality in this repo’s addon which prevents packages from being lost when Steam OS is updated, installs fakeroot using this command(sudo pacman -S fakeroot) and installs all the optional AUR helpers from AUR would genuinely be amazing and save me endless amounts of frustration.

This would simplify installing Linux packages so, so, so much and allow the experience to be much closer to Windows. I currently dual boot Windows because Linux is just such a nightmare for me to work with.

Even installing Pamac has basically been impossible for me(the AUR GUI package manager) due to the four levels of dependencies which have resulted in numerous errors and extra commands needed to run along the way, which has as mentioned before hit me with an unfixable error.

I would be ever so grateful if someone would develop a tool to get all of these automatically installed while avoiding all of the errors.

  • InFerNo
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    I install AUR packages “by hand” and maybe ran into this twice, where I had to install AUR packages to install an AUR package. That’s over a course of many years. It’s not a common occurrence.

    What packages are you having trouble with?

    Also, very important to know, using -S in pacman is called a partial update and it is not supported. That doesn’t mean you can’t do it or it doesn’t work, just best to avoid it. Always use -Syu. The full nuanced explanation can be found here https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported

    I wouldn’t disable sudo. This isn’t windows where all users are admins by default. It’s an important security feature to prevent unauthorized things from happening.

    When you run makepkg to create a package from a PKGBUILD file, you can use the -s switch to automatically resolve dependencies from the repositories.