Wait but that means your computer will stay on if the update fails, right?
If it was && then the second command would only run if the first command was successful.
But @[email protected] wrote only one & which instead means the first command will run in the background and the second will execute at the same time… which does not seem like a good idea in this case 😅
Or if you’re me,
yay -Syuand wait 4 fucking hours (Because you barely ever remember to do it).Just
yaywould sufficeI do update my Arch each time it boots. Like a tiny tradition to me.
Doing
yay -Syu --noconfirm & shutdownwhenever I turn my machine off has been the solution for meWait but that means your computer will stay on if the update fails, right?
If it was
&&then the second command would only run if the first command was successful.But @[email protected] wrote only one
&which instead means the first command will run in the background and the second will execute at the same time… which does not seem like a good idea in this case 😅Oh damn, yeah it was supposed to be &&, probably messed it up when arguing with the stupid phone keyboard adding spaces after symbols
It doesn’t deserve the rest if it fails.
You turn your machine off???
Once a month or so yes!
I kid. I reboot every couple weeks to save myself a bunch of headaches.
I reboot every time an update triggers mkinitcpio. Otherwise som kernel modules stop working.
Thank you!