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.

  • KISSmyOS@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    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.

    • Kalcifer@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      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?

      • KISSmyOS@feddit.de
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        7 months ago

        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 
        
  • somenonewho@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Well for my laptop which I use 3-5 days a week (for a few hours at a time) I do it only when I’m at home so it doesn’t get in the way when I need my machine. But I also reboot my laptop every use since with framework suspend just won’t work properly (I’ll look into it soon™).

    My desktop I try to update every time I use it but with barely any time and my gaming now happening on my steam deck that’s less and less. Also with the archzfs module I gotta wait for the right timing between module and kernel versions so these days I often miss a few updates.

  • 30p87@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Exactly the same. My server gets updated whenever I ssh into it, too. And as it also runs on testing repos, it actually makes sense.

  • EddyBot@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    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/