Cannot Install Ubuntu 18.04 WSL

8,578

Wow, it worked for me - https://github.com/Microsoft/WSL/issues/2874

Just log out and log in again to MS Store account!

enter image description here

Share:
8,578

Related videos on Youtube

Viknesh
Author by

Viknesh

Updated on September 18, 2022

Comments

  • Viknesh
    Viknesh over 1 year

    I am currently running 16.04 version of Ubuntu bash on Windows 10 Pro (v1803) using WSL. But, I couldn't install the newly released 18.04 Ubuntu on my machine from the windows store. Need some help.

    I tried to install the 18.04 version from Windows Store. The store app just refreshes. Nothing else happen.

    Tried removing v16, turned off WSL feature and started all over again. Still the same.

    Tried the method from this link from howtogeek. It installed only 16.04 version. Not the latest 18.04.

    Resetting windows store didn't work too.

    • Organic Marble
      Organic Marble almost 6 years
      Details of the problems you encountered would be helpful. Please edit your question to include them.
    • Terrance
      Terrance almost 6 years
      do-release-upgrade installs the latest release. Canonical has not released the upgrade yet to 18.04. That happens at the first point (18.04.1) release due late July 2018. There are ways of forcing the upgrade to happen sooner, but I recommend waiting on the upgrade so that you end up with a more stable upgrade as it has had some time to get bugs worked out.
    • Elder Geek
      Elder Geek almost 6 years
      Related: askubuntu.com/questions/1019683/…. I hope this question can eventually be made a signpost to that one...
    • Fabby
      Fabby almost 6 years
      @ElderGeek You mean the above or the other way around?
    • camccar
      camccar almost 6 years
      I'm having the same problem. Tried uninstalling , and reinstalling multiple times.
    • karel
      karel almost 6 years
      @ElderGeek I VTRd this question too because it was answered by Alexey Goloviznin and you can see from the screenshot in his answer that 18.04 can be installed in WSL.
    • WinEunuuchs2Unix
      WinEunuuchs2Unix almost 6 years
      @karel I'm VTR for different reasons. This question is about Ubuntu upgrading from 16.04 to 18.04 in WSL, The duplicate is asking why you need to install 16.04 after activating WSL. Also the screen shot is dubbed "Fake News" as per my comment below the screen shot.
    • karel
      karel almost 6 years
      Of course it's not even a duplicate.
    • WinEunuuchs2Unix
      WinEunuuchs2Unix almost 6 years
      @karel anyway I suspect our friends voting as duplicate aren't using WSL :) I'm already dual booting 16.04 / 18.04 and getting a headache selecting GDM vs Unity vs Wayland vs Xorg. Can't imagine quad booting 16.04 / 18.04 in WSL now too.
    • WinEunuuchs2Unix
      WinEunuuchs2Unix almost 6 years
      Not sure why the "Fake News" is in the Answer's link but and can't confirm you can install Ubuntu 18.04, but can confirm that if 16.04 is installed sudo do-release-upgrade -d will upgrade you to 18.04.
  • Redoubts
    Redoubts almost 6 years
    When I go to the store, I can install a separate WSL distribution, but I wasn't able to update my "Legacy" install.