DisclaimerFirst thing first, I'm a quite average technical person. I know a bit of everything without being specialized in anything.
This actually sometimes work in my favor, as I do not fear to test "crazy" things that are, normally, not meant to go together.
- Be part of Windows Insider (fast ring preferred)
- Have the latest Windows 10 Insider release installed
- Install Windows Subsystem for Linux (WSL) feature
- Get the Repositories list for Ubuntu 16.04
- Make a backup of the current sources.list
$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
Finally the upgrade
As for any upgrade, once everything has been prepared well, the upgrade itself will (normally) only be a question of install wait.
I will, on purpose, be verbose with the commands, and if you know a bit of Linux commands, I'm sure you can do it in one line.
NOTE: as I'm posting this blog after I've done the upgrade, I have unfortunatly no printscreens to share of the upgrade itself.
- Update the list of packages available after the "sources.list" has been updated
$ sudo apt-get update
- Upgrade the distribution
$ sudo apt-get dist-upgrade
- Type "Y" to install all the required Packages
- Therefore, type "N" or just enter as it is the default when prompted for the update.
And that's actually all. It took my old pc (elitebook 8470p 4g RAM) about 20 minutes for the upgrade.
In order to be ensure everything is properly applied, I rebooted windows, as I do not know (yet) how I can reboot the WSL instance (read pico-process) itself.
I confirmed in 2 ways that ubuntu was correctly installed:
And that's all for now. My next blog post will be about another crazy idea that I also put on twitter already: have Docker runtime in WSL to manage Docker Beta for Windows.
Hopefully, this (first) blog post will help or at least give ideas for one person at least.