Whenever I run almost any command like sudo dpkg --configure -a, or some other command I get the error: transport endpoint is not connected.
I have tried almost everything, unmounting, rebooting, shutting down wsl, running apt install yet nothing works. Please help.