I find that I habitually open a terminal and run an update on every boot of my system (which gets rebooted once a day). I’m curious what other people do.
In case someone doesn’t know it yet:
If you update your Arch Linux system with a kernel upgrade, the kernel modules will NOT be loaded again automatically by default and things like FUSE (used in AppImages for example or other FUSE based mounts) will not work without intervention
simple rebooting is the foolproof way or setting up kernel module reload hooks: https://archlinux.org/packages/extra/any/kernel-modules-hook/
And other smaller things tend to misbehave as well. For this reason I always upgrade right before shutting down my machnine anyway.
An unintended side-effect of this is that I tend to postpone upgrades because I’m just about to leave somewhere and wouldn’t have to deal with any manual interventions.
Mostly everyday when I start my computer but I will avoid updating if I have a mission critical project to work on, because arch doesn’t break often but when it does it’s because you were trying to update right before working on a mission critical project.
Usually daily, when I boot up my PC. Unless there’s whole lot of updates, then I tend to wait till the end of the day and my work is done for the day. I mean I can always roll back, but I am weary of issues creeping up over several hours.
Whenever I feel like it tbh. Today I recently had to do so today because of the xz backdoor and before that, the new kde plasma 6 release. Before that, I basically didn’t update unless I needed to.
Usually twice a day on whatever PC I’m runnnig. That is unless I am really caught up in something I am working on then only when that task is complete which is rarely more than a week.
My server about every other day, but if I am traveling I purposefully try not to since I have to be home to debug the worst kinds of situations.
Multiple times a day, basically whenever I’m bored. Sometimes I get so depressed when there are no updates, that I install some random package or build something from source, so I can look at some text flying across my terminal, and look at all the cool stuff happening on my PC. I also have a
journalct -f
andbtop
running all the time as it’s interesting to see what’s happening behind the scenes.Pretty much every day, it’s just part of my morning routine when I put the computer on. For reboots, basically whenever something important like the kernel, systemd or pipewire updates, just to avoid weird behavior.
my desktop, about every other month? i have moved signal-desktop to a flatpak so i don’t have to do a full system update whenever it demands to be updated :D
However often you do it, you should definitely do it today to cover the serious backdoor that’s been discovered: https://archlinux.org/news/the-xz-package-has-been-backdoored/
Every time I install a package, or once a month.
I use a script that shows new Arch news messages, updates the mirrorlist with the fastest mirrors in my country, updates repo packages, updates aur packages, then prints created .pacnew and .pacsave files as well as orphaned and dropped packages.I use a script that shows new Arch news messages, updates the mirrorlist with the fastest mirrors in my country, updates repo packages, updates aur packages, then prints created .pacnew and .pacsave files as well as orphaned and dropped packages.
Would you mind sharing that script?
It’s not very sophisticated and has no error handling, but I only run it locally…
#!/bin/bash echo -e "\n...READING NEWS...\n" yay -Pw echo -e "\n...UPDATING MIRRORS...\n" sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup sudo reflector --country Germany --latest 5 --sort rate --save /etc/pacman.d/mirrorlist echo -e "\n...UPDATING REPO PACKAGES...\n" sudo pacman -Syu echo -e "\n...UPDATING AUR...\n" yay -Syu echo -e "\n...ORPHANED PACKAGES...\n" pacman -Qtd echo -e "\n...PACKAGES NOT IN ARCH REPO...\n" pacman -Qm echo -e "\n...NEW CONFIG FILES...\n" sudo find /etc -name *.pac* echo "DONE 😊" #Dependencies: yay, reflector, rsync, noto-fonts-emoji