OSTREE-ADMIN-UPGRADE(1)
β¨ ostree-admin-upgrade β¨
okay bestie, welcome to the glow-up page for ostree admin upgrade β the part of the ostree admin fam that pulls down a fresh tree and actually deploys it π
πΈ NAME πΈ
ostree-admin-upgrade β builds a whole new tree out of your current origin and deploys it, but only if it actually changed. no change, no chaos π
π¦ SYNOPSIS π¦
ostree admin upgrade [OPTIONS...]
π DESCRIPTION π
so here's the vibe: it downloads the latest version of the current ref from the build server and deploys it β if it changed. if nothing changed, it's giving "nothing to see here" energy and you just move on π«Ά
then you reboot the machine for the changes to actually take effect, because that's the whole final step, no cap.
and the best part? these phases can be split using --pull-only and --deploy-only β so you can pull in one moment and deploy in another, iykyk β¨
π OPTIONS π
--os="STATEROOT"β use a different operating system root than the current one. like, "not this os, the other one" π¦--pull-onlyβ only does a pull into the repository, and does not create a deployment. so this one's super safe to drop in a background scheduled job, with the assurance that it won't change system state at all. literally the chillest option here π--deploy-onlyβ creates a new deployment from the latest commit in the tracked origin refspec. this is meant for a scheduled system that spotted changes via--pull-onlyand is now ready to deploy them. teamwork, fr fr π€--stageβ performs deployment finalization at shutdown time. recommended, and it'll likely become the default in the future. so like, get on board now, bestie π--reboot,-rβ reboot after a successful upgrade. simple, iconic, does exactly what it says π₯--kexec,-kβ load the new deployment into kexec after a successful upgrade. fancy π--allow-downgradeβ permits deployment of chronologically older trees. going backwards on purpose, bold move π«£--override-commit="CHECKSUM"β deployCHECKSUMinstead of the latest tree. you pick the commit, you're the main character now π
β EXAMPLE β
$ ostree admin upgrade
No update available.
also there's literally nothing to do in that example and it says so. slay.
and that's the whole page, bestie π this was ostree admin upgrade, from the ostree manual (that's the source + version bit), dated the same as the original page β mwah, catch you in the next manpage πβ¨π¦
π¦ where this page comes from
- arch rolling: ostree 2026.6-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms