You can use --sudoloop option with your normal update command and paru/yay will ensure the terminal session remains authenticated until the command has ended. For example:
paru -Syu --sudoloop
This way, after long builds, paru/yay won't have to wait for you to enter the sudo pass, or timeout and thus fail to install the built packages. This was something that really annoyed me as someone new to Linux/Arch.
10 Comments
exu@feditown.com · 12 pts · 26d
You can also set the option in the config files
CalcProgrammer1@lemmy.today · 2 pts · 26d
Nice, I need to edit those files then.
CalcProgrammer1@lemmy.today · 4 pts · 26d
Nice, I need to remember this, the password prompt stalls my installs all the time.
Veraxis@lemmy.world · 4 pts · 26d
I didn't know that. I will have to try that out. Thanks.
Dotcom@lemmy.ml · 3 pts · 26d
Sick
lIlIllIlIIIllIlIlII@lemmy.zip · 3 pts · 26d
Do you know how to know what packages are those that last forever to compile?
zippy@lemmy.zip · 1 pts · 26d
Uhh depends on your rig I guess. I build the various emulators from git and some of them like vita3k can take awhile.
But for me its more about being able to leave the update unattended, knowing that when I come back they will all be done and I can close the terminal window.
Veraxis@lemmy.world · 1 pts · 22d
Often if there is a -bin version of a package, it is a precompiled binary and will not need to be compiled from scratch. As a general rule, the -bin version of the packages are usually preferred when available.
lIlIllIlIIIllIlIlII@lemmy.zip · 2 pts · 22d
Yes, Im aware. Thanks anyway.
Engywuck@lemmy.zip · 3 pts · 26d
Nice!