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

I am using ubuntu touch on my nexus 7. I installed the stable release yesterday (18/10/2013), using the command:

sudo phablet-flash ubuntu-system --no-backup

This successfully installed the latest build on my nexus 7.

Now when I type the following code in the terminal:

sudo apt-get dist-upgrade

I get the following error:

W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.

Why is this so? I am able to update using the System Settings->Updates. What is wrong with this?

share|improve this question

You can try:

adb shell touch /userdata/.writable_image

adb reboot

I saw in on this page:

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.