How to get back ubuntu-desktop?
Solution 1:
I solved the issue by resolving dpkg: errors .Here is the link how I resolved it
Python3 cannot be downloaded result, after $sudo apt --reinstall install python3 command.ubuntu 18.04
Then ran
sudo apt-get install ubuntu-desktop
But again it was showing unmet dependencies. Then I installed those dependencies one by one . It was a chain of dependencies,i had to go by each one, some were upgraded, some were downgraded, but finally installed. Then I ran
sudo apt update
and again
sudo apt-get install ubuntu-desktop
And finally got a desktop to start a session.