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.

all 10 comments

sorted by: hot top controversial new old
[–] 11 points 4 months ago (1 child)

You can also set the option in the config files

  • source
  • hideshow 1 child comment
  • [–] 4 points 4 months ago

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

  • source
  • [–] 4 points 4 months ago

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

  • source
  • [–] 3 points 4 months ago (3 children)

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

  • source
  • hideshow 3 child comments
  • [–] [S] 1 point 4 months 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.

  • source
  • parent
  • [–] 3 points 4 months ago
    [–] 3 points 4 months ago