Update openSUSE WSL to 42.3 or 15.0

Submitted by matthiaslink on Sun, 2018-03-25 - 15:25
openSUSE Leap WSL on Win10 (copyright Richard Turner)

openSUSE Leap 42.2 is not supported anymore. I wrote this guide because I didn't found any official information about updating the openSUSE WSL (Windows Subsystem for Linux) on Windows. Within a native distribution the openSUSE team strongly recommends the update to 42.3 or the even newer Version 15.0 that is available since 25.05.2018. I share with you this article of my exercise and want to give you a small walkthrough with Win10.



  • For sure I assume that you installed already openSUSE on your Win10 system as a WSL. If not please see my other article.
  • Start your WSL (e.g. with typing bash.exe on your Win10 command prompt)


Zypper Tool

Make yourself familiar with the zypper tool that is the central tool for updating your distribution. There is also a good page on the official openSUSE site (see "Further Information"-section)

Common zypper commands
Command Description
sudo zypper lr -u Shows all repositories including links
sudo zypper ref Refresh the repository informations
sudo zypper up Update all packages


Distribution Upgrade Process

The update is quite easy and the Guideline on the openSUSE wiki can be adapted to a certain degree from my experience. The steps are done as follows and based on the WSL package for openSUSE delivered in Windows Store:

  1. Find out your installed version (to make sure this step ist still necessary or Windows store was updated in the meantime :)). Version_ID should show "42.2" or "42.3" - depends if you have upgrade with my former version of this article.
    cat /etc/os-release
  2. Make sure your packages are at latest stage on Version 42.2 or 42.3
    sudo zypper ref
    sudo zypper up
  3. Deactivate all old repositories because you add the new ones in the next steps
    zypper mr -adR
  4. Add the new repositories to your configuration. An upgrade from 42.2 to directly 15.0 should be possible, too.
    Add the 15.0 repositories to your configuration
    zypper ar -n "openSUSE-15.0 OSS"  http://download.opensuse.org/distribution/leap/15.0/repo/oss/ repo-15.0-oss
    zypper ar -f -n "openSUSE-15.0 Updates OSS"  http://download.opensuse.org/update/leap/15.0/oss/ repo-15.0-update-oss
  5. Update your Distribution from to Leap 15.0
    zypper clean -a
    zypper ref
    zypper dup
  6. Check if your Distribution is on the right Version - Version_ID should show now "15.0"
    cat /etc/os-release


You're done :)!


Further Information

Official Distribution Upgrade Information: https://de.opensuse.org/SDB:Distribution-Upgrade

Zypper Documentation: https://en.opensuse.org/SDB:Zypper_usage


Credits for picture:

Picture by Richard Tuner - Thanks for permission to use picture, buddy! (Twitter)



Submitted by PabloF (not verified) on Tue, 2019-01-22 - 21:38


Thx. Still lil information on the net for this. worked perfectly...

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.