ManniSturgis,

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.

Anarchistcowboy,

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.

CrabAndBroom,

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.

toastal, (edited )

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.

pineapplelover,

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.

30p87,

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.

spacemanspiffy,

On desktop, once or twice a week, if I think about it.

On my home server, every few weeks or once a month.

On my HTPC :), rarely, since its kind of fragile running Arch ARM on the Radxa Rock 5B. Only when I know there is time to rebuild some required AUR packages to make graphics work again.

emax_gomax,

Once a week. I have to use proprietary realtek ethernet drivers and they need to be rebuilt with each kernel upgrade. I haven’t figured out a clean way to plug them into packman and rebuild on kernel updates so I just update, reboot, rebuild and install drivers when I notice I’m on WiFi instead of ethernet.

communism,
@communism@lemmy.ml avatar

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.

Kalcifer,
@Kalcifer@sh.itjust.works avatar

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?

communism,
@communism@lemmy.ml avatar

Literally just


<span style="font-style:italic;color:#969896;">#!/bin/sh
</span><span style="color:#323232;">
</span><span style="font-weight:bold;color:#a71d5d;">if </span><span style="color:#323232;">checkupdates </span><span style="font-weight:bold;color:#a71d5d;">|| </span><span style="color:#323232;">yay -Qu</span><span style="font-weight:bold;color:#a71d5d;">; then
</span><span style="color:#323232;">    notify-send </span><span style="color:#183691;">"Package updates available" "To update, press MOD + SHIFT + U"</span><span style="color:#323232;"> -i </span><span style="color:#183691;">"update-catppuccin-mocha"
</span><span style="font-weight:bold;color:#a71d5d;">fi
</span>

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)

Kalcifer, (edited )
@Kalcifer@sh.itjust.works avatar

This is so cool! Very clever solution to this issue. Thank you for sharing! 😊 An interesting thing that I ran into when testing it was regarding the difference between [pacman|yay|paru] -Qu and checkupdates: checkupdates showed that an update was available, but the -Qu option did not reveal the update. It wasn’t until I synced the database with -Sy that -Qu started showing the updates.

Update (2024-03-31T03:20Z): Ah, it looks like checkupdates essentially is just running pacman -Sy and pacman -Qu.

KISSmyOS,

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.

mitvitaminen,
@mitvitaminen@ravenation.club avatar

@KISSmyOS @Kalcifer u could Just use reflector

KISSmyOS,

I do.

Kalcifer,
@Kalcifer@sh.itjust.works avatar

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, (edited )

It’s not very sophisticated and has no error handling, but I only run it locally…


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">echo -e "n...READING NEWS...n"
</span><span style="color:#323232;">yay -Pw
</span><span style="color:#323232;">echo -e "n...UPDATING MIRRORS...n"
</span><span style="color:#323232;">sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
</span><span style="color:#323232;">sudo reflector --country Germany --latest 5 --sort rate --save /etc/pacman.d/mirrorlist
</span><span style="color:#323232;">echo -e "n...UPDATING REPO PACKAGES...n"
</span><span style="color:#323232;">sudo pacman -Syu
</span><span style="color:#323232;">echo -e "n...UPDATING AUR...n"
</span><span style="color:#323232;">yay -Syu
</span><span style="color:#323232;">echo -e "n...ORPHANED PACKAGES...n"
</span><span style="color:#323232;">pacman -Qtd
</span><span style="color:#323232;">echo -e "n...PACKAGES NOT IN ARCH REPO...n"
</span><span style="color:#323232;">pacman -Qm
</span><span style="color:#323232;">echo -e "n...NEW CONFIG FILES...n"
</span><span style="color:#323232;">sudo find /etc -name *.pac*
</span><span style="color:#323232;">echo "DONE 😊"
</span><span style="color:#323232;">
</span><span style="color:#323232;">#Dependencies: yay, reflector, rsync, noto-fonts-emoji 
</span>
Matty_r,
@Matty_r@programming.dev avatar

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

Blaiz0r,

Once a week, usually on a Friday when I’ve finished work, usually with a beer

d3Xt3r,

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 and btop running all the time as it’s interesting to see what’s happening behind the scenes.

DriftinGrifter,

Can I recommend cbonsai and cmatrix?

Kalcifer,
@Kalcifer@sh.itjust.works avatar

cbonsai is awesome. Whenever I open a new shell, I have it configured to first run cbonsai so that a bonsai tree is the first thing that I see when I open a terminal.

lemmyreader,

Thanks for the cbonsai suggestion 😀

pixelscript,

I just click the litte nag icon in my taskbar whenever I notice it.

Since I’m on Debian Testing that is often daily. But it varies. If I don’t look at that part of my screen that day, w/e.

I thought I turned on auto update so it would just do it on its own. But it didn’t work for whatever reason. Sigh… Linux moment. There is an answer, surely, but the cost of debugging it outweighs my patience. Typing in my password an extra once(ish) a day is fine, I guess.

Edit: Just realized this is the Arch community. D’oh.

velox_vulnus,

Everyday. It is a little bit inconvenient that I’m on Guix, perhaps it would be best if I create a service.

Kalcifer,
@Kalcifer@sh.itjust.works avatar

I’m on Guix

Do you mean that you are runnign the GNU Guix distro, or that you are using the Guix package manager on Arch?

velox_vulnus,

I’m using Guix SD. Third-party package managers cannot over the role of system package managers.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • archlinux@lemmy.ml
  • DreamBathrooms
  • thenastyranch
  • mdbf
  • Durango
  • Youngstown
  • slotface
  • hgfsjryuu7
  • vwfavf
  • rosin
  • kavyap
  • osvaldo12
  • PowerRangers
  • InstantRegret
  • magazineikmin
  • normalnudes
  • khanakhh
  • GTA5RPClips
  • ethstaker
  • cubers
  • ngwrru68w68
  • tacticalgear
  • everett
  • tester
  • Leos
  • cisconetworking
  • modclub
  • anitta
  • provamag3
  • All magazines