Solution for error locale : Check current locale on wsl ubuntu windows

here my solution if u got error on auto install, in windows ubuntu WSL
Error log :
TASK [locale : Check current locale]

sudo mkdir -p /run/dbus
sudo dbus-daemon --system


Please could you share detailed steps to install erpnext on wsl.

Thanks mate. localectl was throwing “Connection timed out” error in the "TASK [locale : Check current locale] stage with the easy install script.

But running
sudo mkdir -p /run/dbus
sudo dbus-daemon --system
resolves the error. Most probably WSL also use something like LXC.