this post was submitted on 14 Jul 2026
20 points (100.0% liked)

Arch Linux

9856 readers
26 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS
 

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.

top 8 comments
sorted by: hot top controversial new old
[–] CalcProgrammer1@lemmy.today 3 points 11 hours ago

Nice, I need to remember this, the password prompt stalls my installs all the time.

[–] exu@feditown.com 10 points 21 hours ago (1 children)

You can also set the option in the config files

[–] CalcProgrammer1@lemmy.today 2 points 11 hours ago

Nice, I need to edit those files then.

[–] lIlIllIlIIIllIlIlII@lemmy.zip 2 points 16 hours ago (1 children)

Do you know how to know what packages are those that last forever to compile?

[–] zippy@lemmy.zip 1 points 10 hours ago

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.

[–] Engywuck@lemmy.zip 2 points 20 hours ago
[–] Veraxis@lemmy.world 2 points 21 hours ago

I didn't know that. I will have to try that out. Thanks.

[–] Dotcom@lemmy.ml 2 points 21 hours ago