How to update Ubuntu 20.04 LTS on Windows 10

How to update Ubuntu 20.04 LTS on Windows 10

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

Upgrade method:

I am only targeting users who already have Ubuntu

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 the 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
# upgrader will assume prompt was meant to be normal.
#Prompt=lts
Prompt=normal

The default setting is Prompt=lts. Change it to Prompt=normal. Re-execute the command do-release-upgrade

There will be two manual interventions during this 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 will take about 30'+ to complete the entire upgrade process.

Related links

Windows Subsystem for Linux (WSL) File System Improvements Chapter 41 - Running Linux Tools from the Windows Command Line Chapter 42 - Running Windows Tools from WSL

This is the end of this article about the steps to update Ubuntu 20.04 LTS from Windows 10. For more information about updating Ubuntu 20.04 LTS from Windows 10, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • How to install WSL2 Ubuntu20.04 on Windows 10 and set up the docker environment

<<:  Vue uses canvas to realize image compression upload

>>:  Gearman + MySQL to achieve persistence operation example

Recommend

Three steps to solve the IE address bar ICON display problem

<br />This web page production skills tutori...

JavaScript to implement login form

This article example shares the specific code of ...

Vue2.x - Example of using anti-shake and throttling

Table of contents utils: Use in vue: explain: Ima...

How to create a virtual environment using virtualenv under Windows (two ways)

Operating system: windowns10_x64 Python version: ...

Detailed installation and use tutorial of mysql 8.0.15 under windows

This article shares with you the detailed install...

Deleting two images with the same id in docker

When I created a Docker container today, I accide...

Vue implements simple data two-way binding

This article example shares the specific code of ...

How to use Docker container to access host network

Recently, a system was deployed, using nginx as a...

Achieve 3D flip effect with pure CSS3 in a few simple steps

As a required course for front-end developers, CS...

MySQL SQL statement to find duplicate data based on one or more fields

SQL finds all duplicate records in a table 1. The...

Introduction to JavaScript strict mode use strict

Table of contents 1. Overview 1.1 What is strict ...

IE8 compatibility notes I encountered

1. IE8's getElementById only supports id, not ...

javascript to switch by clicking on the picture

Clicking to switch pictures is very common in lif...