Git Product home page Git Product logo

Comments (8)

OneBlue avatar OneBlue commented on September 13, 2024 1

Hmm I wonder if the MSIX package for the ubuntu app was in a weird state, and rebooting maybe fixed the issue.
The Ubuntu 24.04 LTS is already installed logline is expected if the MSIX package for the distribution is already installed.

Closing since the issue is fixed, but please reopen if this reproduces again.

from wsl.

github-actions avatar github-actions commented on September 13, 2024

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
.wslconfig found
Detected appx version: 2.1.5.0
Detected user visible error: Wsl/InstallDistro/WININET_E_CANNOT_CONNECT

from wsl.

OneBlue avatar OneBlue commented on September 13, 2024

@viblo-majority: This looks like a connectivity issue, but maybe it's within the store.

Does:

wsl --install -d Ubuntu-24.04 --web-download

Help resolve the issue ?

from wsl.

viblo-majority avatar viblo-majority commented on September 13, 2024

I tried from two different (wifi) networks with the same result, and I don't have other network issues on any of them. But is there any specific address I can try with for example ping, curl or similar to check outside the wsl tool?

I did try the web-download option. I think it downloaded it, and maybe installed it. However, it can't be started, and now it will not try to install it again.

PS C:\> wsl -l --all
Windows Subsystem for Linux Distributions:
rancher-desktop-data (Default)
rancher-desktop
PS C:\> wsl -d ubuntu-24.04
There is no distribution with the supplied name.
Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND
PS C:\> wsl --install -d Ubuntu-24.04
Ubuntu 24.04 LTS is already installed.
Launching Ubuntu 24.04 LTS...
The operation completed successfully.
PS C:\> wsl --install -d Ubuntu-24.04 --web-download
Ubuntu 24.04 LTS is already installed.
Launching Ubuntu 24.04 LTS...
The operation completed successfully.

from wsl.

OneBlue avatar OneBlue commented on September 13, 2024

Does the distribution start if you start it via wsl.exe -d Ubuntu-24.04 ?

from wsl.

viblo-majority avatar viblo-majority commented on September 13, 2024

No. I had a list of all commands I tried in my previous comment, let me format them again for clarity:
(It doesn't matter the order of these commands, I've tried all of them several times)

  • wsl -l --all
PS C:\> wsl -l --all
Windows Subsystem for Linux Distributions:
rancher-desktop-data (Default)
rancher-desktop
  • wsl -d ubuntu-24.04
PS C:\> wsl -d ubuntu-24.04
There is no distribution with the supplied name.
Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND
  • wsl --install -d Ubuntu-24.04
PS C:\> wsl --install -d Ubuntu-24.04
Ubuntu 24.04 LTS is already installed.
Launching Ubuntu 24.04 LTS...
The operation completed successfully.
  • wsl --install -d Ubuntu-24.04 --web-download
PS C:\> wsl --install -d Ubuntu-24.04 --web-download
Ubuntu 24.04 LTS is already installed.
Launching Ubuntu 24.04 LTS...
The operation completed successfully.

from wsl.

OneBlue avatar OneBlue commented on September 13, 2024

Interesting. Do you have the Ubuntu-24.04 app installed now ? What if you start it manually ?

from wsl.

viblo-majority avatar viblo-majority commented on September 13, 2024

Oh, now it worked. I actually gave up and focused on other things, but seems like something happened that fixed it. (I did restart the computer both now and a 2 weeks ago when tried to troubleshoot this issue from the beginning).
However, some traces of the broken state could still be visible today when I ran the install command (you can see that it printed out that Ubuntu was already installed, but still proceeded to actually install it):

PS C:\code\dump> wsl --install -d Ubuntu-24.04
Ubuntu 24.04 LTS is already installed.
Launching Ubuntu 24.04 LTS...
Installing, this may take a few minutes..

from wsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.