#π WSL Update Failed
147 messages Β· Page 1 of 1 (latest)
@lean timber
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
This is a Python server
it was expected to receive a conclusion and stuff then i'm being able to use docker or maybe even use it through cmd
but it's related to my sandboxing
did you try wsl --update?
yes:
can you translate that? What does that say?
translation:
Verifying updates...
The service couldn't be initialized because it's deactivated or there is no associated device activated
its deactivated?
i don't know
Do you have any WSL distro setup?
yes i guess:
that's just WSL. Did you install any distro?
Run wsl -l
Like Ubuntu or Fedora or something
docker installs itself as a wsl distro. Did you delete it?
nope
i don't know
^ please
i just installed docker with installer and then i got to this
Looks like a service is missing. It might be fixed by restarting.
you mean, restarting my windows?
yes
you need to install a distro
They're not trying to use wsl for wsl. It's required for docker.
docker still needs a distro to run on
wsl --install -d Ubuntu-22.04 if you don't mind Ubuntu
Is that portugese?
yes, my computer is in portuguese
guess a debian 12 distro would be more appropriate
since my VPS use debian
yeah go for it
wsl --list --online
I've noticed your version of windows is pretty old.
yeah
not windows 11
anyway, try the docker desktop installer again
thought i won't have money for a windows 11
I understand.
Isn't it free to upgrade to Windows 11 from Windows 10?
only if your pc is supported
yeah.
What does "Gather diagnostics" do?
i have no idea
i ended up clicking quit
and i'm re-installing docekr
Are you trying to install or update docker?
*docker
re-installing
if you already installed docker and you're using the update, it means you deleted your docker wsl distro
if you see the distros docker-desktop or docker-desktop-data, don't touch them.
those are internal to docker
okay this time i clicked gather diagnosis:
Did you fully uninstall docker?
i just uninstalled it using app and resources
from windows 10
restart too
i don't know if i fully unstalled it
restart after uninstalling?
yes
That's not useful to us. Only Docker
Do you have a default distro set?
Run wsl -l -v
run wsl --update
What does that say?
same as here
Do you have kaspersky
nope
Open an admin cmd window and run sc config LxssManager start=auto
Any other anti-virus other than defender?
there was AVG before that my father installed by accident by installing cclear
but then i uninstalled it
it may have disabled the wsl service
i don't know if there is anything left from that
guess it worked
cus Γͺxito means sucess
And that was an admin shell?
yes, here says administrator prompt command:
and the same thing happens when i type wsl --update
Check the LxssManager service in the services window
Do you have the windows store enabled?
yes:
Try installing wsl from that
am i lacking any other information to provide?
Try following this. https://superuser.com/questions/1731365/updating-wsl-2-without-microsoft-store/1754527#1754527
You do need to update to the latest version of windows 10
You need to be on at least 22H2
@lean timber ?
This is the link for wsl in the store. https://www.microsoft.com/store/productId/9P9TQF7MRM4R?ocid=pdpshare
Windows Subsystem for Linux (WSL) lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dual boot setup.
Installing WSL through the store will allow you to get the latest WSL updates and features...
and... i can't update my windows:
What does this say?
A problem occoured. Try re-opening the configurations later
Close and reopen the settings app
Did you restart earlier?
well, yeah i restarted 3 times
since we started talking here
It may be a good idea to refresh windows
It should be under Troubleshoot in the settings app
Oh, go to Settings > System > Troubleshoot > Other troubleshooters > Windows Update: Run
There's also System > Recovery > Fix problems using Windows Update
okay guess this one can be closed
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.