RetroFed Forum
Your home away from modern life.
(paru/yay) Update aur apps without having to worry about a sudo prompt mid update (`--sudoloop`)
Post Reply
AuthorMessage
zippy lemmy.zip zippy@lemmy.zip
Joined: 2025-06-08
Quote

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.

30   Original
Dotcom lemmy.ml Dotcom@lemmy.ml
Joined: 2023-06-08
#2 · Quote Reply

Sick

3
Veraxis lemmy.world Veraxis@lemmy.world
Joined: 2023-06-26
#3 · Quote Reply

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

4
exu feditown.com exu@feditown.com
Joined: 2023-09-29
#4 · Quote Reply

You can also set the option in the config files

13
Engywook lemmy.zip Engywuck@lemmy.zip
Joined: 2025-06-23
#5 · Quote Reply

Nice!

3
lIlIllIlIIIllIlIlII lemmy.zip lIlIllIlIIIllIlIlII@lemmy.zip
Joined: 2025-01-07
#6 · Quote Reply

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

3
CalcProgrammer1 lemmy.today CalcProgrammer1@lemmy.today
Joined: 2024-10-29
#7 · Quote Reply

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

4
CalcProgrammer1 lemmy.today CalcProgrammer1@lemmy.today
Joined: 2024-10-29
#8 · Quote Reply

You can also set the option in the config files

Nice, I need to edit those files then.

2
zippy lemmy.zip zippy@lemmy.zip
Joined: 2025-06-08
#9 · Quote Reply

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

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.

1
Veraxis lemmy.world Veraxis@lemmy.world
Joined: 2023-06-26
#10 · Quote Reply

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

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.

1
lIlIllIlIIIllIlIlII lemmy.zip lIlIllIlIIIllIlIlII@lemmy.zip
Joined: 2025-01-07
#11 · Quote Reply

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.

Yes, Im aware. Thanks anyway.

1
Post Reply
Back to top