I have installed Ubuntu under WSL. I am now trying to install Ubuntu desktop. I have tried several times. I get many errors such as: Failed to preset unit. Transport endpoint is not connected. Now stuck on 75% for hours. Not a great first experience.
As an amateur I'm not sure what I can add. Installed is Ubuntu 22.04.3 LTS. I then typed in "sudo apt install ubuntu-desktop". It immediately started doing this but occasionally get stuck as follows:
"Failed to reload daemon: Transport endpoint is not connected."
It is now showing 80% so it is still installing but with errors it seems. It is now 5 hours.
Setting up ubuntu-advantage-desktop-daemon (1.10~22.04.1) ...
Failed to reload daemon: Transport endpoint is not connected
Failed to get unit file state for ubuntu-advantage-desktop-daemon.service: Transport endpoint is not connected
Failed to retrieve unit state: Transport endpoint is not connected
ubuntu-advantage-desktop-daemon.service is a disabled or a static unit, not starting it.
Setting up libsm6: amd64 (2:1.2.3-1build2) ...