i followed the steps (https://docs.rockylinux.org/guides/rocky_to_wsl_howto/) but didn’t work very well.
still getting below error, yum update Unable to detect release version (use ‘–releasever’ to specify release version) Failed loading plugin “needs_restarting”: No module named ‘dbus’ Error: There are no enabled repositories in “/etc/yum.repos.d”, “/etc/yum/repos.d”, “/etc/distro.repos.d”.
This on Windows 10. WSL 2.0 with Ubuntu as base machine to create image
I think you forgot to change the packages with centos name on it under /etc/rinse/rocky-8.packages which cause the issue, and also add python3-dbus & dbus-glib packages to get rid of the No module named 'dbus’. Hope it helps.