DamionGans / ubuntu-wsl2-systemd-script

[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

help: can't start wsl after following instructions

hros opened this issue · comments

commented

I couldn't get snap to run, so I tried the instructions (link)
I made sure to execute:

sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig

but after completing the instructions, I can't start wsl, and I get the following error:

/usr/sbin/enter-systemd-namespace: line 10: /usr/sbin/daemonize: No such file or directory

I can't enter wsl, to fix or delete this change
please help

update: using wsl --exec cmd I was able to start undoing the damage