Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed (via terminal) these packages (because my Gvim had a warning about libgail):


(I wanted to re-install the first package, when removing it Ubuntu forced to remove the other 3, then I installed all them again)

After reboot, I can't login (after entering the password the screen refreshes again I enter the password and it hangs)

Can I solve the problem(s) with live CD without erasing all my data and install everything again?

share|improve this question
What happens if you do Ctrl + Alt + F1 to login? Will it let you? – Mitch May 30 '12 at 5:41
Yes, it lets me to login. – a-z May 30 '12 at 5:45

To reset everything to the way it was before you removed the applications, once you boot to recovery mode by pressing Ctrl+Alt+F1 enter you username and password, and then reinstall the Ubuntu-desktop meta package. Code:

sudo apt-get install --reinstall ubuntu-desktop

Then reboot with Code:

sudo reboot
share|improve this answer
Can I reinstall from live CD?(older version) – a-z May 30 '12 at 6:06
No , older CD of ubuntu not good for this , because 12.04 Ubuntu-desktop is differ to Ubutnu 11.10 . so the thing is you need 12.04 Live if you want to get it from a LIVE CD . – Raja May 30 '12 at 6:28
The 12.04 on my computer is newer(updated) than my live CD(12.04). If it's good how can I reinstall with CD? Does this operation remove my data or it's just like a normal update? – a-z May 30 '12 at 6:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.