You are not logged in.

#1 2023-01-15 04:16:05

PRAY4ENEMY
Member
Registered: 2022-08-15
Posts: 3

Updating packages on start-up?

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

#2 2023-01-15 04:25:24

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Updating packages on start-up?

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.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2023-01-15 06:15:16

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Updating packages on start-up?

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

Board footer

Powered by FluxBB