Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

You can try:

adb shell touch /userdata/.writable_image

adb reboot

I saw in on this page:

http://bazaar.launchpad.net/~popey/+junk/phablet-flash-wrapper/view/head:/post-flash.sh

share|improve this answer

Your Answer

 
discard

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.