You are not logged in.
Hello folks,
I was wondering if I could add "Sudo Pacman -Syyu" to my .xinitrc files. Is this advisable or is there some random issue that I am not seeing?
Also can I run into any problems with updating my system too often.
Thank you
Offline
First of all, you shouldn't use pacman -Syyu as it places unnecessary load on the mirrors.
To answer you question upgrades should always be attended and require you to read pacman's output. Manual intervention is often needed.
Offline
In addition, updates will frequently require you to reboot (e.g. following a kernel update). So, if that command worked (which it would not without interaction), you'd end up updating twice with a reboot right after you've booted.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline