Rockly Linux with WSL2.0

Hello Everyone,

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

@imthenightbird there doesn’t seem to be any log or error text attached to your message, if you meant to include it.

missed add the error , updated now

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.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.