{
    "mode": "man",
    "parameter": "DO-RELEASE-UPGRADE",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/DO-RELEASE-UPGRADE/8/json",
    "generated": "2026-10-06T09:40:38Z",
    "synopsis": "do-release-upgrade [options]",
    "sections": {
        "NAME": {
            "content": "do-release-upgrade - upgrade operating system to latest release\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "do-release-upgrade [options]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Upgrade  the  operating system to the latest release from the command-line.  This is the pre‐\nferred command if the machine has no graphic environment or if the machine is to be  upgraded\nover a remote connection.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h --help",
                    "content": "show this help message and exit\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-V --version",
                    "content": "Show version and exit\n",
                    "flag": "-V",
                    "long": "--version"
                },
                {
                    "name": "-d --devel-release",
                    "content": "If using the latest supported release, upgrade to the development release\n\n--data-dir=DATADIR\nDirectory that contains the data files\n",
                    "flag": "-d",
                    "long": "--devel-release"
                },
                {
                    "name": "-p --proposed",
                    "content": "Try upgrading to the latest release using the upgrader from Ubuntu-proposed\n",
                    "flag": "-p",
                    "long": "--proposed"
                },
                {
                    "name": "-m  --mode",
                    "content": "Run  in  a special upgrade mode. Currently \"desktop\" for regular upgrades of a desktop\nsystem and \"server\" for server systems are supported.\n",
                    "flag": "-m",
                    "long": "--mode"
                },
                {
                    "name": "-f  --frontend",
                    "content": "Run the specified frontend\n",
                    "flag": "-f",
                    "long": "--frontend"
                },
                {
                    "name": "-c --check-dist-upgrade-only",
                    "content": "Check only if a new distribution release is available and report the  result  via  the\nexit code\n",
                    "flag": "-c",
                    "long": "--check-dist-upgrade-only"
                },
                {
                    "name": "--allow-third-party",
                    "content": "Try  the upgrade with third party mirrors and repositories enabled instead of comment‐\ning them out.\n",
                    "long": "--allow-third-party"
                },
                {
                    "name": "-q --quiet",
                    "content": "",
                    "flag": "-q",
                    "long": "--quiet"
                },
                {
                    "name": "-e  --env",
                    "content": "A comma-seprated list of environment variables  (e.g.   VAR1=VALUE1,VAR2=VALUE2)  that\nshould be set during the upgrade.\n",
                    "flag": "-e",
                    "long": "--env"
                }
            ]
        },
        "SEE ALSO": {
            "content": "update-manager(8), apt-get(8)\n\nOctober 2009                       DO-RELEASE-UPGRADE(8)",
            "subsections": []
        }
    },
    "summary": "do-release-upgrade - upgrade operating system to latest release",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "show this help message and exit"
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "Show version and exit"
        },
        {
            "flag": "-d",
            "long": "--devel-release",
            "arg": null,
            "description": "If using the latest supported release, upgrade to the development release --data-dir=DATADIR Directory that contains the data files"
        },
        {
            "flag": "-p",
            "long": "--proposed",
            "arg": null,
            "description": "Try upgrading to the latest release using the upgrader from Ubuntu-proposed"
        },
        {
            "flag": "-m",
            "long": "--mode",
            "arg": null,
            "description": "Run in a special upgrade mode. Currently \"desktop\" for regular upgrades of a desktop system and \"server\" for server systems are supported."
        },
        {
            "flag": "-f",
            "long": "--frontend",
            "arg": null,
            "description": "Run the specified frontend"
        },
        {
            "flag": "-c",
            "long": "--check-dist-upgrade-only",
            "arg": null,
            "description": "Check only if a new distribution release is available and report the result via the exit code"
        },
        {
            "flag": "",
            "long": "--allow-third-party",
            "arg": null,
            "description": "Try the upgrade with third party mirrors and repositories enabled instead of comment‐ ing them out."
        },
        {
            "flag": "-q",
            "long": "--quiet",
            "arg": null,
            "description": ""
        },
        {
            "flag": "-e",
            "long": "--env",
            "arg": null,
            "description": "A comma-seprated list of environment variables (e.g. VAR1=VALUE1,VAR2=VALUE2) that should be set during the upgrade."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "update-manager",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/update-manager/8/json"
        },
        {
            "name": "apt-get",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/apt-get/8/json"
        }
    ]
}