MicrosoftDocs / WSL

Source code behind the Windows Subsystem for Linux documentation.
https://docs.microsoft.com/windows/wsl
Other
1.92k stars 578 forks source link

The Microsoft Store location returns no content #868

Closed yecril71pl closed 2 years ago

yecril71pl commented 4 years ago

There are no distributions to be retrieved from Microsoft Store. Distributions, but unfortunately lots of other things too, can be retrieved from Microsoft Store.

Szczegóły dokumentu

Nie edytuj tej sekcji. Jest ona wymagana dla docs.microsoft.com ➟ Dołączanie problemu w usłudze GitHub.

dimithras commented 4 years ago

One can download distros without even using Microsoft Store.

The link for manual download is not eye-catching and is kinda hidden on Windows Server Installation Guide page.


In case you still want to do it with Microsoft Store

I would suggest you checking hosts file: C:/WIndows/System32/drivers/etc/hosts There should be no Microsoft hosts listed there.

To make it simple, make sure there is nothing below these lines:

#    127.0.0.1         localhost #     ::1                   localhost

In case there are other lines, make a backup of hosts file and delete it under above mentioned path, try to access Microsoft Store again.

Also keep in mind, that some providers may block access to Microsoft services, at least I've seen such behavior sharing internet connection from phone.

If none of the above works, try to analyze traffic with Fiddler or WireShark to see what prevents you from accessing Microsoft Store.

yecril71pl commented 4 years ago

I can access Microsoft Store but there are no distributions over there.

dimithras commented 4 years ago

I can access Microsoft Store but there are no distributions over there.

Well, somehow you found it #877, right?

yecril71pl commented 4 years ago

I found it in Microsoft Store. However, that location contains things that are not distributions, so it is hard to discover. Also, it is questionable whether Linux distributions are development tools; certainly Microsoft would like them to stay there but openSUSE is in fact my favourite desktop.

dimithras commented 4 years ago

I found it in Microsoft Store. However, that location contains things that are not distributions, so it is hard to discover. Also, it is questionable whether Linux distributions are development tools; certainly Microsoft would like them to stay there but openSUSE is in fact my favourite desktop.

Distributions found in MS Store are pre-made to use with wsl as they use bootstrap and other settings to run under wsl.

You are right, actually appx applications are a kind of container featuring special distro and tools to reset it, repair and etc.


Preparation of a custom distro is not covered by Windows Subsystem for Linux Documentation. To get deeper into custom distros you can take a look at following links:

  1. Fedora istallation in wsl with .iso image
  2. Fedora distro out of rootfs
yecril71pl commented 4 years ago

Microsoft Store sells all kinds of things, including Linux distributions (incidentally, it does not feature any). Microsoft Store is supposed to get me to the shelf with Linux distributions. But that shelf does not exist.

craigloewen-msft commented 2 years ago

This Microsoft Store link works, and if needed you can run wsl -l -o to see online distros and install them with wsl --install -d <DistroName>

yecril71pl commented 2 years ago

This Microsoft Store link works

I have just tried it and got an error:

Something happened on our end.

craigloewen-msft commented 2 years ago

Is the microsoft store enabled on your machine? Can you access the Store normally?

yecril71pl commented 2 years ago

Microsoft Store works, the hyperlink does not.