I’m trying to do system updates. It’s been a couple weeks, so there’s a fair amount, including an AUR package “rustdesk” which takes a while to build/install. I’m using yay -Syyu and it prompts for my password up front. After who knows how long of building/installing, it prompts again for my password. If I don’t babysit it and enter the password within (I’m not sure) how long, it fails due to missing credentials.
How can I either provide the password up front, or make it wait longer, or something so that I can do a system update without being expected to stare at my screen for 15-20 minutes while it builds rustdesk?
yay is the same as yay -Syu. It is a good command for updating the system
yay -Syyu forcibly downloads the full databases every time. It shouldn’t be used unless there is some specific situation that requires it since it will waste bandwidth on the mirrors.
thanks for that , so i’ve also encountered it asking for password again while i’t been running for awhile , and i’ve missed it and it failed.
so if i use the
Yes, adding --sudoloop keeps your sudo session alive in the background so that when it needs the privileges at the end, you don’t need to type it in again and it just works.
sorry for sounding dumb lol but i’m coming from zorin ,where commands are different.
i’m busy making a list of commands to keep system updated ect , just want to know the little nettle gritty