Method steps for windows10 to update Ubuntu20.04 LTS

  • 2021-08-12 04:13:57
  • OfStack

On April 23, 2020, Ubuntu 20.04 on Windows today allows you to use Ubuntu Terminal and run Ubuntu command line utilities, including bash, ssh, git, apt and so on. It requires Windows 10 version 16215.0 or later and supports ARM64 and x64 architectures. Note that this program is not supported on Windows 10 S.

Upgrade method:

I only aim at users who already have ubuntu here

Open ubuntu or Windows Terminal and run the command do-release-upgrade.


frank@LAPTOP-0OCJTGJR:~$ do-release-upgrade
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release
set Prompt=normal in /etc/update-manager/release-upgrades.

The above error message may appear.

Open a file sudo vi /etc/update-manager/release-upgrades


# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for, or allow upgrading to, a new release.
# normal - Check to see if a new release is available. If more than one new
#      release is found, the release upgrader will attempt to upgrade to
#      the supported release that immediately succeeds the
#      currently-running release.
# lts  - Check to see if a new LTS release is available. The upgrader
#      will attempt to upgrade to the first LTS release available after
#      the currently-running one. Note that if this option is used and
#      the currently-running release is not itself an LTS release the
#      upgrader will assume prompt was meant to be normal.
#Prompt=lts
Prompt=normal

When the default setting is Prompt=lts, change it to Prompt=normal. Re-execute the command do-release-upgrade

There will be two manual participation during the period


Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done

Calculating the changes

Calculating the changes

Do you want to start the upgrade?


40 packages are going to be removed. 424 new packages are going to be
installed. 690 packages are going to be upgraded.

You have to download a total of 547 M. This download will take about
6 minutes with your connection.

Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.

 Continue [yN] Details [d]y

It takes about 30 '+ time to complete the whole upgrade process.

Correlation connection

Improvement of Windows Subsystem for Linux (WSL) File System
Chapter 41-Running the Linux tool from the Windows command line
Chapter 42-Running the Windows tool from WSL


Related articles: