Tools: Upgrading Ubuntu 24.04 to Ubuntu 26.04 (2026)

Tools: Upgrading Ubuntu 24.04 to Ubuntu 26.04 (2026)

Prepare for the Upgrade

Open the Auxiliary SSH Port

Run the Upgrade

Verify the Upgrade

Next Steps Ubuntu 24.04 LTS remains fully supported, but Ubuntu 26.04 LTS ships the Linux 7.0 kernel and updated security defaults. This guide upgrades a live Ubuntu 24.04 server to Ubuntu 26.04 LTS in-place using do-release-upgrade, handling the auxiliary SSH daemon, configuration file conflicts, and obsolete package removal. By the end, you'll have a running Ubuntu 26.04 system with the kernel version confirmed. 1. Update the APT package index and upgrade all installed packages: 2. Remove obsolete packages: 3. Install the upgrade manager: The do-release-upgrade tool starts an auxiliary SSH daemon on port 1022. Opening this port prevents being locked out if the primary SSH connection drops during the upgrade. 1. Launch the release upgrade tool: 2. Follow the interactive prompts: 1. Confirm the OS version: The output shows VERSION_ID="26.04" and VERSION_CODENAME="resolute". 2. Verify the kernel version: The output shows kernel 7.0.0 or higher. 3. Remove the auxiliary SSH firewall rule: Ubuntu 26.04 is running with the latest kernel. From here you can: For the full guide with additional tips, visit the original article on Vultr Docs. Templates let you quickly answer FAQs or store snippets for re-use. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse

Command

Copy

$ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">update $ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">upgrade -y $ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">update $ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">upgrade -y $ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">update $ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">upgrade -y $ -weight: 600;">sudo -weight: 500;">apt autoremove -y $ -weight: 600;">sudo -weight: 500;">apt autoremove -y $ -weight: 600;">sudo -weight: 500;">apt autoremove -y $ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">install -weight: 500;">update-manager-core -y $ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">install -weight: 500;">update-manager-core -y $ -weight: 600;">sudo -weight: 500;">apt -weight: 500;">install -weight: 500;">update-manager-core -y $ -weight: 600;">sudo ufw allow 1022/tcp $ -weight: 600;">sudo ufw allow 1022/tcp $ -weight: 600;">sudo ufw allow 1022/tcp $ -weight: 600;">sudo do-release--weight: 500;">upgrade -d $ -weight: 600;">sudo do-release--weight: 500;">upgrade -d $ -weight: 600;">sudo do-release--weight: 500;">upgrade -d $ cat /etc/os-release $ cat /etc/os-release $ cat /etc/os-release $ -weight: 600;">sudo ufw delete allow 1022/tcp $ -weight: 600;">sudo ufw delete allow 1022/tcp $ -weight: 600;">sudo ufw delete allow 1022/tcp - Confirm the -weight: 500;">upgrade to Ubuntu 26.04 LTS when prompted - Allow the auxiliary SSH daemon to -weight: 500;">start on port 1022 - Accept any keyboard configuration dialogs - When asked about configuration files, keep the local version - Confirm removal of obsolete packages when prompted - Reboot the server to complete the -weight: 500;">upgrade - Review and -weight: 500;">update any third-party APT repositories that reference the noble codename - Install the LAMP or LEMP stack to -weight: 500;">start hosting web applications - Harden the server with fail2ban and automatic security updates