Some problems/questions regarding updates on Silverblue:
In GNOME Software I sometimes only got the blue “Install all updates” and I could click it, but did not notice it does anything.
When I just tried to reproduce it, however, it worked for some reason…
rpm-ostree shows me it can apparently enable auto-update:
$ rpm-ostree status
State: idle
AutomaticUpdates: disabled
So:
How can I enable automatic updates?
In GNOME Software I have auto-updates enabled. Apparently, this has nothing to do with that/is not related/does not change this setting. Is anything planned to change this or what?
Security updates/Changelog
In GNOME Software on “usual” Fedora’s I had a nice changelog etc. Now on Silverblue, I only saw this (no details for any updates):
Also no details and no CVEs/security advisories listed, but when running ´rpm-ostree status´ later I was quite surprised to see that it seems to advise me to reboot, because there is an advisory:
Again a problem though: I have no idea what advisory it is, which software it affects etc. It just shows me “there is something”.
Also, again, why does not GNOME Software show this? Why does not show it rpm-ostree update during the update (maybe changing the last sentence message to more strongly advise to reboot?)
2.1 I sugest you read this post (also thought this video was mildly helpful) to enable auto updates for fedora silverblue, it’s not the most intuitive and simple process but it works
2.2 the auto-updates mentioned in gnome software concern the applications that you have installed as flatpaks and not the operating system (at least that’s what i have understood)
if you add a -v (verbose): rpm-ostree -v status you will get a detailed list of all the CVEs and the effected software.
Is the automatic upgrade tutorial @mhack mentions out of date already? There is a warning for experimental usage and the walk through explains that “ex-stage” should be used. However checking the man page of the file only lists non, check, and stage as options not ex-stage.
Thank you for writing that tutorial! I didn’t know the automatic upgrades were a possibility until i found that. Very cool stuff. Also I am happy to hear that this wasn’t as risky of a move as I had thought it was going in. Again thank you for your contributions!
Well, it’s the same instruction as provided above. Anyway, this is also only just staging, i.e. it downloads the, but does not apply them, correct?
So if I restart, I will be in the same system? I still need to run rpm-ostree to apply them?
BTW you can remove the last two sudos from the last commands, both rpm-ostree and systemctl care for getting root permissions by themselves. (or don’t need it)
After all, I guess it would already help, if GNOME Software would properly show the updates. Here ios what happened:
It showed me (the usual) notification “There are important [yes, there was one CVE!] updates.”
But when I click on it/open it, I only see a simple “Update all” button, nothing else:
The man page covers the different options pretty well:
..."check" downloads just enough metadata to check for updates and display them in rpm-ostree status.
Finally, the "stage" policy downloads and unpacks the update, performing any package layering. Only a small amount of work is left to be performed at shutdown time via the ostree-finalize-staged.service systemd unit.
So in the case of stage, if you reboot, you’ll be in the new update that was downloaded and staged. If you don’t want this behavior, use the check setting.
I personally don’t use the GNOME Software interface, so I’m not sure what is going on there. I’d recommend filing an issue upstream to discuss with the maintainers - Issues · GNOME / gnome-software · GitLab
To answer/correct myself: No. Actually, it is the same as when you run rpm-ostree update! Staging apparently means it stages it to be applied for the next reboot (and this is fine and enough, just remember to reboot from time to time )