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

Few days ago while Ubuntu 12.04 was doing a common system update, my laptop turned off in the middle of process due to bad AC power. Since then, I can only login but nothing else. A message about compiz appears, but mouse, keyboard, icons, Unity are not working.

The only thing I was able to do is a boot repair, as described in Ubuntu's site, but neither this helped. Hope you can help me.

share|improve this question
up vote 2 down vote accepted

Can you boot to recovery mode entry? If you can, it should show you a small menu.

In that menu:

  • select Network to activate the network (internet),
  • then select Drop to root shell.

That will load a command prompt as root.

Then you can try:

dpkg --configure -a
apt-get install -f

Usually that can help with broken packages.

share|improve this answer
It worked!! thank you so much! – ilias Aug 28 '12 at 23:17
You are welcome! – user68186 Aug 29 '12 at 2:13

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.