#πŸ”’ WSL Update Failed

147 messages Β· Page 1 of 1 (latest)

scarlet ploverBOT
#

@lean timber

Python help channel opened

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.

slim loom
#

This is a Python server

lean timber
#

it was expected to receive a conclusion and stuff then i'm being able to use docker or maybe even use it through cmd

lean timber
slim loom
#

alright

#

share what you have

lean timber
#

like, piston need this

#

whjat else i need to share?

#

my code?

#

oh i see

slim loom
lean timber
slim loom
lean timber
#

translation:
Verifying updates...
The service couldn't be initialized because it's deactivated or there is no associated device activated

slim loom
#

its deactivated?

lean timber
slim loom
#

Do you have any WSL distro setup?

lean timber
#

yes i guess:

slim loom
acoustic drift
#

Run wsl -l

slim loom
#

Like Ubuntu or Fedora or something

acoustic drift
#

docker installs itself as a wsl distro. Did you delete it?

lean timber
acoustic drift
lean timber
#

i just installed docker with installer and then i got to this

lean timber
acoustic drift
#

Run wsl --install

#

as admin

lean timber
#

there we go

acoustic drift
#

Looks like a service is missing. It might be fixed by restarting.

lean timber
acoustic drift
#

yes

slim loom
acoustic drift
#

They're not trying to use wsl for wsl. It's required for docker.

slim loom
#

docker still needs a distro to run on

slim loom
# lean timber

wsl --install -d Ubuntu-22.04 if you don't mind Ubuntu

acoustic drift
#

Is that portugese?

lean timber
lean timber
#

guess a debian 12 distro would be more appropriate

#

since my VPS use debian

slim loom
#

yeah go for it

acoustic drift
#

wsl --list --online

lean timber
#

installed

acoustic drift
#

I've noticed your version of windows is pretty old.

lean timber
#

not windows 11

acoustic drift
#

anyway, try the docker desktop installer again

lean timber
#

thought i won't have money for a windows 11

acoustic drift
#

I understand.

slim loom
acoustic drift
#

only if your pc is supported

slim loom
#

oh right

#

TPU and CPU or something

acoustic drift
#

yeah.

lean timber
#

guess i need to re-install docker?

slim loom
lean timber
#

i ended up clicking quit

#

and i'm re-installing docekr

acoustic drift
#

Are you trying to install or update docker?

lean timber
#

*docker

lean timber
acoustic drift
#

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

lean timber
#

okay this time i clicked gather diagnosis:

acoustic drift
#

Did you fully uninstall docker?

lean timber
#

from windows 10

acoustic drift
#

restart too

lean timber
#

i don't know if i fully unstalled it

lean timber
acoustic drift
#

yes

lean timber
#

9D87F369-F301-4A41-A499-62E14A345763/20240424172320

#

this is my diagnostics ID

acoustic drift
#

That's not useful to us. Only Docker

#

Do you have a default distro set?

#

Run wsl -l -v

lean timber
#

yeah

#

but it's stopped

acoustic drift
#

run wsl --update

lean timber
acoustic drift
#

What does that say?

acoustic drift
#

Do you have kaspersky

lean timber
acoustic drift
#

Open an admin cmd window and run sc config LxssManager start=auto

#

Any other anti-virus other than defender?

lean timber
#

there was AVG before that my father installed by accident by installing cclear

#

but then i uninstalled it

acoustic drift
#

it may have disabled the wsl service

lean timber
#

i don't know if there is anything left from that

#

guess it worked

#

cus Γͺxito means sucess

acoustic drift
#

And that was an admin shell?

lean timber
#

yes, here says administrator prompt command:

#

and the same thing happens when i type wsl --update

acoustic drift
#

Check the LxssManager service in the services window

lean timber
acoustic drift
#

Do you have the windows store enabled?

lean timber
acoustic drift
#

Try installing wsl from that

lean timber
lean timber
acoustic drift
#

You do need to update to the latest version of windows 10

#

You need to be on at least 22H2

#

@lean timber ?

lean timber
#

yeah, i'm starting to update here

#

since i need to update

acoustic drift
#
Microsoft Apps

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...

lean timber
#

and... i can't update my windows:

acoustic drift
#

What does this say?

lean timber
#

A problem occoured. Try re-opening the configurations later

acoustic drift
#

Close and reopen the settings app

lean timber
#

same thing

#

frankly i hate docker due to that

acoustic drift
#

Did you restart earlier?

lean timber
#

since we started talking here

acoustic drift
#

It may be a good idea to refresh windows

lean timber
#

refresh?

#

in which way?

acoustic drift
#

It should be under Troubleshoot in the settings app

lean timber
#

troubleshoot?

#

i don't know what is that

#

in portuguese

acoustic drift
#

Oh, go to Settings > System > Troubleshoot > Other troubleshooters > Windows Update: Run

#

There's also System > Recovery > Fix problems using Windows Update

lean timber
#

okay so, i found a way to use piston without dockers

#

using pyston

acoustic drift
#

You probably should get windows update fixed.

#

last resort: install Linux Mint

lean timber
#

yeah, when i get ther money first, for now i got the solution of my problem

#

pyston

lean timber
#

okay guess this one can be closed

scarlet ploverBOT
#
Python help channel 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.