man > DO-RELEASE-UPGRADE

⚡ TLDR: DO-RELEASE-UPGRADE (tldr-pages)

The Ubuntu release upgrader.

  • Upgrade to the latest release
    sudo do-release-upgrade
  • Upgrade to the latest development release
    sudo do-release-upgrade {{-d|--devel-release}}
  • Upgrade to the latest proposed release
    sudo do-release-upgrade {{-p|--proposed}}
DO-RELEASE-UPGRADE(8)                                                          DO-RELEASE-UPGRADE(8)

NAME
       do-release-upgrade - upgrade operating system to latest release

SYNOPSIS
       do-release-upgrade [options]

DESCRIPTION
       Upgrade  the  operating system to the latest release from the command-line.  This is the pre‐
       ferred command if the machine has no graphic environment or if the machine is to be  upgraded
       over a remote connection.

OPTIONS
       -h, --help
              show this help message and exit

       -V, --version
              Show version and exit

       -d, --devel-release
              If using the latest supported release, upgrade to the development release

       --data-dir=DATA_DIR
              Directory that contains the data files

       -p, --proposed
              Try upgrading to the latest release using the upgrader from Ubuntu-proposed

       -m MODE, --mode=MODE
              Run  in  a special upgrade mode. Currently "desktop" for regular upgrades of a desktop
              system and "server" for server systems are supported.

       -f FRONTEND, --frontend=FRONTEND
              Run the specified frontend

       -c, --check-dist-upgrade-only
              Check only if a new distribution release is available and report the  result  via  the
              exit code

       --allow-third-party
              Try  the upgrade with third party mirrors and repositories enabled instead of comment‐
              ing them out.

       -q, --quiet

       -e ENV, --env=ENV
              A comma-seprated list of environment variables  (e.g.   VAR1=VALUE1,VAR2=VALUE2)  that
              should be set during the upgrade.

SEE ALSO
       update-manager(8), apt-get(8)

                                            October 2009                       DO-RELEASE-UPGRADE(8)

Generated by phpman v4.12.26 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-11-09 19:00 @2600:1f28:365:80b0:e22:2a81:3fc7:d534
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!