I'm very new to Ubuntu. I did this :
sudo apt-get -f install
And when I rebooted the system, I couldn't log into the system.
When I proceed with the user name and password I get a small pop-up saying :
Failed to load session Gnome ( Log Out )
What went wrong? Are there any ways there to get back to my previous state?
Thanks in advance.
I think there was a dependency problem which was fixed by removing gnome session with the command
sudo apt-get -f install
. So, you can't log into gnome session.Try Login in the Unity session. Click on the Ubuntu Logo next to your user name and change it to "Ubuntu"
After login, you can repair some of the missing packages by using this command
You can reinstal gnome, this world fix corrupted stuff. Just go to terminal and type:
After the process completes, you will be able to log in to gnome sessions. I had the same problem today with the
-f
option ofapt-get
, and fixed it this way.