Just want to confirm that
Raffaele Bratta's solution of switching to systemd also resolved the issue for me. Basically, adding to `/etc/wsl.conf` the following configuration:
```
[boot]
systemd = true
```
and then rebooting by executing `wsl --shutdown`. After that, I could finally run `dpkg --configure -a` successfully.
Cheers, Thom