A Guide to Upgrading your Ubuntu App’s Release

Tara Raj

Canonical recently released Ubuntu 18.04 in the Microsoft Store. We received many questions around the various Ubuntu releases in the Store in addition to how best to upgrade your existing releases. With the help of our friends at Canonical, we have created a guide to upgrading your Ubuntu release. We will soon add a short-form version of this guide to the WSL distribution management documentation.

First, let’s start with an explanation of the Ubuntu apps in the Store.

Ubuntu apps in the Store

You’ll notice there are currently three Ubuntu apps in the Store – Ubuntu, Ubuntu 16.04, and Ubuntu 18.04.

Ubuntu

The ‘Ubuntu’ app will follow the latest recommended LTS version. Consider this release the default recommended version. Right now, this is 16.04, but it will change to 18.04 in a few weeks once the ‘point’ release (i.e. 18.04.1) is published. This follows the guideline used by the ‘do-release-upgrade’ tool which will recommend upgrading from one LTS to the next after the first ‘point’ release is available. The ‘point’ release is set for the end of July.

Ubuntu 16.04

The ‘Ubuntu 16.04’ app was added as we prepared for ‘Ubuntu’ to change to 18.04. This will be maintained until 16.04 reaches end-of-life in 2021.

Ubuntu 18.04

The ‘Ubuntu 18.04’ app is the newest addition to the Store. It will always track the 18.04 LTS and will continue to receive updates even after 20.04 and 22.04 are released. ‘Ubuntu 18.04’ will be maintained until it reaches end-of-life in 2023.

The reason for the rolling ‘Ubuntu’ app approach is to give customers who just want a good Ubuntu experience to always be able to get the recommended version by installing ‘Ubuntu.’ And those who need more control over their environment or need to develop against a specific LTS can do so by installing the LTS specific version.

You will soon see changes to the app descriptions in the Store to reflect this process.

Upgrading your distribution

Now on to upgrading your release. Note, the Windows Store does not automatically upgrade your currently installed distributions like it does for other apps. So, once you install Ubuntu, that will be your working version unless you manually complete the upgrade steps. This is designed to always give you control of the specific versions of the software you run within your distribution instances.

There are two ways to upgrade a distribution. One is the distribution-specific way and the other is WSL-specific. We recommend you go with the distribution-specific route because that aligns itself with how Linux distributions are usually maintained.

For Ubuntu, the upgrade command is ‘sudo do-release-upgrade.’ This is recommended because it has the ability to handle system configuration changes between releases.

Please note, LTS systems are only automatically considered for an upgrade to the next LTS via ‘do-release-upgrade’ with the first point release. So, you can use the above to upgrade your installed 16.04 release when 18.04.1 is released.

Thanks & Feedback

Thank you for your feedback on the distribution upgrade path. We understand that there has been some confusion around this topic and hope this post cleared up some of that. Please reach out to us on Twitter or comment below if you have additional feedback. You can find us at #WSLinux @canonical, @tara_msft, and @benhillis.

We look forward to seeing what you do with Ubuntu 18.04!

 

1 comment

Discussion is closed. Login to edit/delete existing comments.

  • mauro stettler 0

    I have installed Ubuntu 16.04 from the Windows Store and then successfully upgraded it to 18.04 using do-release-upgrade. This all worked fine, the only thing which bothers me is that in the start menu the app is still titled “Ubuntu 16.04 LTS”, how can I rename that to reflect the correct version?

Feedback usabilla icon