Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

My computer crashed and my desktop does not load up and I have no terminal using ctrlaltt etc, so I uninstalled compiz from root shell prompt.

This has removed unity so now I need to re-install it in recovery mode:

apt-get install unity returns not using locking for read only lock file /var/lib/dpkg/lock

share|improve this question

You probably face the problem that everything is mounted read-only in the recovery-system. Please see my answer to "Is recovery mode supposed to hang..." about how to work around that.

share|improve this answer

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.