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?