DamionGans / ubuntu-wsl2-systemd-script

[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images
1.56k stars 382 forks source link

help: can't start wsl after following instructions #73

Closed hros closed 2 years ago

hros commented 2 years ago

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