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

Problems with installing mysql and mysql.sock under linux

Recently, I encountered many problems when instal...

Practical explanation of editing files, saving and exiting in linux

How to save and exit after editing a file in Linu...

Linux bridge method steps to bridge two VirtualBox virtual networks

This article originated from my complaints about ...

How to enhance Linux and Unix server security

Network security is a very important topic, and t...

In-depth explanation of iterators in ECMAScript

Table of contents Preface Earlier iterations Iter...

Download MySQL 5.7 and detailed installation diagram for MySql on Mac

1. Enter the following address in the browser htt...

How to Set Shortcut Icons in Linux

Preface Creating shortcuts in Linux can open appl...

Detailed Example of MySQL curdate() Function

MySQL CURDATE Function Introduction If used in a ...

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

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

How to write the style of CSS3 Tianzi grid list

In many projects, it is necessary to implement th...

Exploring the Linux Kernel: The Secrets of Kconfig

Get a deep understanding of how the Linux configu...

JavaScript implements product details of e-commerce platform

This article shares a common example of viewing p...