Skip to content
Search

Do-release-upgrade

lastmod 2026-02-05created 2023-07-215 edits

upgrade operating system to latest release

About

pgrade the operating system to the latest release from the command-line. This is the preferred command if the machine has no graphic environment or if the machine is to be upgraded over a remote connection.

Limitations

All updates must be completed before you can proceed.

sudo apt update
sudo apt upgrade -y
sudo do-release-upgrade

Also, /usr/bin/python3 must not be a symbolic link. If you symlinked it with something like alternatives, you must remove it.

If it was accidentally removed, reinstall it:

sudo apt install --reinstall python3-minimal python3-distutils

See also

author Zer0 sitemap