{# The system's answer to Check for Updates (A/B OS updates, service.check_os_update): swapped into #os-update-result out of band. format_build turns a build stamp into a date for people. #} {% if error %}
Failed to check for system updates: {{ error }}
{% else %} {% set installed = format_build(data.installed_build) %} {% if data.failed_build %}

The system update (build {{ format_build(data.failed_build) }}) didn't start properly. The mirror went back to the system it had (build {{ installed }}). Nothing was lost. The log is under Logs → Saved Logs.

{% endif %} {% if data.update_available %} {% set bundle = data.bundle %} {% if skip_build == bundle.build %}

Automatic updates skip this one: it didn't start properly on this mirror before. Install it here to try again.

{% endif %}

System update available! {{ bundle.tag }} (build {{ format_build(bundle.build) }}). About {{ bundle.size // 1048576 }} MB to download.

{% else %}

The system is up-to-date (build {{ installed }}).

{% endif %} {% endif %}