Updates and channels
Stable and beta channels, update checks, notifications, and system updates.
On this page
Updates and channels
Channels
| Channel | What it is |
|---|---|
stable | Tagged releases |
beta | The bleeding edge: a build of every push to development |
bxrig update channel # show
bxrig update channel beta # switch
Both are also in the control center (Settings → Updates).
Update BxRig
bxrig update check # exit 10 means an update is available
bxrig update apply --yes # download, verify, replace atomically
An install made with install.sh --source github:... (an unsigned test build, see getting started) is not tracked: update check reports an update because the program differs from the channel's, and update apply --yes replaces it with that channel's build.
bxrig update replaces only the bxrig program. MatchBox (the toolchain) is not touched; move it with mvm update, or run the installer again with --snapshot or --matchbox-branch REF (see getting started).
The release information is signed (Ed25519) and the binary's SHA-256 is checked against it; a bad signature or checksum changes nothing.
Get told about updates
bxrig update notifications on # a daily user timer shows a desktop notification
bxrig update notifications off
The notification covers BxRig and pending system packages.
See what is waiting
bxrig system updates # counts, the package list and whether a restart is needed
bxrig system updates --json # the same as data for scripts and the System panel in the bar
It reads only: repository packages from checkupdates (the pacman-contrib package) and AUR packages from yay -Qua or paru -Qua. It exits 0 even when updates are waiting, and 4 when checkupdates is missing or cannot reach the mirrors.
A restart is called for in two cases, and needs_reboot is true for either:
- Pending. An update in the list replaces a kernel (
linux,linux-lts,linux-zen,linux-cachyosand the other flavours, not their-headersor-docs),systemd,glibc,linux-firmware, a CPU microcode package (intel-ucode,amd-ucode) or the NVIDIA driver.reboot_pendingis true. - Stale. The kernel that runs is gone from
/usr/lib/modules, which means an update already replaced it.reboot_staleis true.
reboot_reasons says why in words. The last full system upgrade comes from /var/log/pacman.log.
Update the system
bxrig system update # the plan: the snapshot step, then the update steps (exit 2)
bxrig system update --yes # snapshot first (snapper or timeshift), then pacman -Syu and yay -Sua
bxrig system update --repo --yes # the snapshot and the repository packages only
bxrig system update --aur --yes # the snapshot and the AUR packages only (yay, else paru; exit 4 without one)
--all is the default. Every scope takes the snapshot first, and says so when snapper and timeshift are both missing. In a terminal each step is named as it starts, and a restart is mentioned at the end when the kernel was replaced.
Agent skills
bxrig skills update --yes refreshes the skills BxRig installed.