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

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

1 Answer 1

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.