I noticed that ujust update (or the system update shortcut, respectively) on Aurora does not update my homebrew packages, and other tools that I use.
After a bit of digging, I found that the topgrade.toml located in /usr/share/ublue-os/ does contain the following line:
only = [“system”, “flatpak”, “distrobox”, “firmware”]
So this seems to be intended behavior (?) If so, I have a few questions about this:
Why is ujust update limited to these tools?
I use Bazzite as well, and there the line quoted above is missing from the topgrade configuration, leading ujust update to also update brew, cargo, TLDR, etc. For me, this seems to be the better configuration, as it updates all the tools that I use. Conversely, on Aurora I currently have to update brew and other tools either manually in additon to ujust update or run topgrade standalone with my own configuration, but I’d prefer to have all the updates to be handled by ujust update and ideally automatically in the background.
Is there any way to change the configuration for ujust update / topgrade to include other tools?
I obviously cannot write to /usr/share. Again on Bazzite, topgrade.toml includes a path for config files under /etc/ublue-os, (which is writable) but this line is missing on Aurora.
Yes it’s intentional as sometimes the topgrade results scare people and they report bugs on warnings, etc. So we scope topgrade down a bunch to just the basics (the automated service units handle the background updates anyway, so your brew, etc. installation is never out of date). Bazzite does it differently, they upgrade the world.
Everything is set to automatically update, the ujust update is there if you want to do it manually. It’s entirely optional.
Yeah, create a topgrade.toml and put it in one of these configuration paths. You can then also put a .Justfile in your ~ and change the ujust update to use that config file, then the command will update exactly what you want from then on.
Good to know! I wasn’t aware that the background updates are configured differently and assumed that the system simply runs ujust update in the background.
Just out of curiosity: What’s the rationale for handling this differently between Bazzite and Aurora?
Ha! I honestly didn’t think that this would work here as the ujust choose command specifies /usr/share/ublue-os/topgrade.toml directly and I assumed this config file would take precendence over any file placed under ~/.config
Not Jorge, but I have contributed to Bazzite before. The rationale is that Bluefin and Aurora are more conservative in their approaches than how Bazzite is maintained. Bazzite lives a little more on the edge and carries some baggage with it, and as a result is much more difficult to maintain properly without consistently breaking other people’s setups.