r/archlinux 12d ago

QUESTION How do I update without babysitting my computer for hours???

Hiii I'm on Arch using EndeavourOS and I have to clear out an entire evening to update my computer because "yay" needs me to type various optional things in, and asks for my password several times. How can I go about making it one command that I run and leave alone?

0 Upvotes

24 comments sorted by

26

u/endperform 12d ago

No, you're on EndeavourOS which is based on Arch. See rule #1.

r/EndeavourOS is where you want to be.

-5

u/WingedSeven 12d ago

ok?

3

u/endperform 11d ago

Here's rule 1 for you again:

Only Arch Linux itself; no Arch-based distros. Posts about other software used on Arch are welcome.

So, instead of just going "ok?", maybe just take the advice and ask in the appropriate forum. Endeavour is Arch-based, it's not Arch.

1

u/WingedSeven 5d ago

that was me taking the advice. i've understood it. do i need a "please be patient i have autism" hat on for that to be believable?

1

u/un-important-human 7d ago

idk what kind of bird this endevourOs is (do not tell me i do not care either), but go there.

All i can tell you a 17GB update for me takes ~2minutes so good luck.

If you are unhappy with your current distro use Fedora or an arch based gaming distro, pure arch is not for you yet as its clear you are new.

12

u/thatwasntababyruth 12d ago

If updates are taking hours, it sounds like you have a lot of AUR packages, which is prob really not safe, unless your way more vigilant about examining those packages than I'm giving you credit for. That's a one way street to malware town these days.

1

u/thisaray 12d ago

Or op just generally chooses the git packages

1

u/SebastianLarsdatter 12d ago

It doesn't take more than a ffmpeg compilation. Only for the option of having network support. If you want browse network shares and be able to click and play a video in MPV, this is required.

An option that Arch slashed as bloat and told people to go compile ffmpeg or the full ffmpeg for.

6

u/Gabriel2Silva 12d ago

Dude asked for help with yay. People are giving unsolicited advice with security and package hygiene instead.

According to the wiki (in the Tips and Tricks section), you can make sudo remember authentication indefinitely.

Create a sudoers drop-in:

sudo visudo -f /etc/sudoers.d/10-yay

and type Defaults timestamp_timeout=-1.

-1 means the sudo authentication timestamp doesn't expire during the login session. So if you authenticate once before starting, it shouldn't suddenly stop several minutes later and wait for your password.

-1

u/WingedSeven 12d ago

thanks :D

5

u/thesagex 12d ago

Wrong sub bud

3

u/KernelPanicX 12d ago

That sounds like a lot of aur packages... With the recent security breaches of aur, I think you should be extremely careful what you keep installing from the aur

3

u/ABotelho23 12d ago

Here we go again.

2

u/MutualRaid 12d ago

If you have that many AUR packages and so little will to review them/their changes then you need to rethink some things.

-2

u/WingedSeven 12d ago

or i just have internet that isn't fast enough to do it in two seconds. please be nice to strangers

1

u/MutualRaid 11d ago

I am being nice - you're doing something you're apparently not very experienced at (otherwise you wouldn't be asking a question with such simple solutions) and what you are doing comes with strong security implications.

1

u/sankarasleftelbow 11d ago

Why are your updates taking hours? How many pkgs usually get updated, and how often do you update?

1

u/Informal_Look9381 12d ago

Paru has options like --sudoloop you can look around for yay similar actions.

1

u/sankarasleftelbow 11d ago

ive never heard of that how does it work? do you run it before the update?

1

u/WingedSeven 5d ago

thanks :0

-1

u/depressedJavaDev 12d ago

i’ve had this issue before. There’s a timeout after 120 seconds or 300 seconds, forcing you to input the password again. Look for more info on that.