{% extends "base.html" %} {% comment %} # SPDX-License-Identifier: AGPL-3.0-or-later {% endcomment %} {% load bootstrap %} {% load i18n %} {% load static %} {% block content %}

{% trans "Distribution Update" %}

{% url 'help:manual-page' lang='-' page='DebianUpgradeNotes' as dist_upgrade_url %} {% blocktrans trimmed %} Your {{ box_name }} will receive security updates, important fixes and some selected features with regular software updates. However, to provide a long software life cycle for {{ box_name }}, the entire operating system will receive a major distribution update every two years or so. This will bring in major features and changes. Sometimes, old features will stop working. Please consult the manual for expected changes and transitions during a distribution upgrade. If you dislike these changes, you can keep each distribution for at least 5 years before updating. {% endblocktrans %}

{% if status.running %}

{% blocktrans trimmed %} Distribution update is currently running. This operation may take several hours. Most apps will be unavailable during this period. {% endblocktrans %}

{% else %} {% if not status.updates_enabled or not status.dist_upgrade_enabled or not status.has_free_space or not status.current_codename %} {% endif %}

{% trans "Current Distribution:" %} {% if not status.current_codename %} {% trans "Unknown or mixed" %} {% elif status.current_codename == "testing" and status.current_codename == "unstable" %} {{ status.current_codename }} ({% trans "Rolling release distribution" %}) {% else %} {{ status.current_version }} ({{ status.current_codename }}) {% endif %} {% if status.current_release_date %} {% blocktrans trimmed with date=status.current_release_date|date %} Released: {{ date }}. {% endblocktrans %} {% endif %}

{% trans "Next Stable Distribution:" %} {% if not status.next_codename %} {% trans "Unknown" %} {% else %} {{ status.next_version }} ({{ status.next_codename }}) {% endif %} {% if status.next_release_date %} {% blocktrans trimmed with date=status.next_release_date|date %} Likely release: {{ date }}. {% endblocktrans %} {% endif %}

{% if status.next_codename and not status.next_release_date %} {% blocktrans trimmed %} Next stable distribution is not available yet. {% endblocktrans %} {% endif %} {% if status.current_codename == "testing" or status.current_codename == "unstable" %} {% blocktrans trimmed %} You are on a rolling release distribution. No distribution update is necessary. Thank you for helping test the {{ box_name }} project. Please report any problems you notice. {% endblocktrans %} {% endif %} {% if status.next_action == "continue" %} {% blocktrans trimmed %} A previous run of distribution update may have been interrupted. Please re-run the distribution update. {% endblocktrans %} {% endif %} {% if status.next_action == "wait_or_manual" %} {% blocktrans trimmed with period=status.next_action_date|timeuntil %} A new stable distribution is available. Your {{ box_name }} will be updated automatically in {{ period }}. You may choose to update manually now, if you wish. {% endblocktrans %} {% endif %} {% if status.next_action == "ready" %} {% blocktrans trimmed %} A new stable distribution is available. Your {{ box_name }} will be updated automatically soon. You may choose to update manually now, if you wish. {% endblocktrans %} {% endif %} {% if status.next_action == "manual" %} {% blocktrans trimmed %} You are on the latest stable distribution. This is recommended. However, if you wish to help beta test {{ box_name }} functionality, you may update to next distribution manually. This setup may experience occational app failures until the next stable release. {% endblocktrans %} {% endif %}

{% if status.next_action == "ready" or status.next_action == "wait_or_manual" %} {% trans "Start Distribution Update" %} {% elif status.next_action == "continue" %} {% trans "Continue Distribution Update" %} {% elif status.next_action == "manual" %} {% trans "Start Distribution Update (for testing)" %} {% else %} {% trans "Start Distribution Update" %} {% endif %}

{% endif %} {% endblock %}