I tried to upgrade my Ubuntu WSL on Windows 10 to later Ubuntu as it had older 18.04 currently. But it failed with aborting error without additional information. I found online that others had removed snapd which was preventing the upgrade. I did a full update before the upgrade attempt. Perhaps this could be updated in Ubuntu to handle this error also?
Is this a problem only in older 18.04 or is the same procedure also needed in 20.04 and later upgrades?
I found this information afterwards online. Would this have resolved the upgrade issue also instead of removing snapd?https://wsl-guide.kennethreitz.org/en/latest/update.html
sudo -S apt-mark hold procps strace sudosudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade