Skip Navigation
40 comments
  • 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.

  • I have a script that runs when I start my graphical environment that checks for updates and sends a notification if there are updates. Which prompts me to do a full system update if I get the notification. I shut my PC off at the end of the day and boot it up in the morning, so I update at least daily, occasionally more than daily if I turn my computer on and off multiple times in the day.

    • I have a script that runs when I start my graphical environment that checks for updates and sends a notification if there are updates.

      Would you mind sharing that script?

      • Literally just

         sh
            
        #!/bin/sh
        
        if checkupdates || yay -Qu; then
            notify-send "Package updates available" "To update, press MOD + SHIFT + U" -i "update-catppuccin-mocha"
        fi
        
          

        mod+shift+u was bound to spawn a terminal window running yay -Syu, obviously change the notification to say whatever you want. The icon is a custom icon, replace it with whatever icon you want for the notification or just remove the icon if you don't want one.

        I've since moved to Artix so the test is now just yay -Qu as checkupdates doesn't seem to exist on Artix, but if you're on base Arch and use yay, the above should work. You can also remove the yay if you don't use yay and I think that just checks for updates from official arch repos, not from aur. (yay -Qu should check both but I have both commands in the script just in case)

  • I used to run sudo pacman -Syu like every 5 minutes (bleeding edge, more like bled out edge). I'd recommend once or twice a day to stay up-to-date.

  • 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.

  • Normally when some software I use has a major update. Could be a month, could be a couple days.

40 comments