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-only and 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" β€” deploy CHECKSUM instead 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