I installed Ubuntu 22.04.02 and it was working just fine since last month , but then suddenly it got stuck at the login screen , I wasn't able to enter my password. I used the power key to force shutdown it but since then whenever I boot into my system,Ubuntu tty1 screen opens up and I can't switch to GUI . Tried all methods I found online , nothing worked yet.No shortcuts , not reinstalling This what opens up
Tried using sudo apt-get install --reinstall Ubuntu desktop But I get this
Reading package lists... Done Building dependency tree... Done Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies: libeg1-mesao: Depends: libgomi (= 22.2.5-0ubuntu0.122.04.1) but 22.2.5-0ubuntu0.122.04. E: Unable to correct problems, you have held broken packages