sudo apt update, error:30: Read-only file system
-
I want to write a simple ASIO program for Ubuntu Touch using C++, but I am currently facing difficulties and unable to use apt:
phablet@ubuntu-phablet :/$ sudo apt update
Reading package list complete
E: The directory/var/lib/app/lists/partial for the software package list is missing- Acquire (30: Read-only file system)
What should I do? -
@naofeifei Hello and Welcome.
As you have noticed, Ubuntu Touch (UT) is set up in a different way than Ubuntu on the desktop. UT has a read-only filesystem, similar to SteamOS, Fedora Silver Blue or Ubuntu Core. Because of this apt is not supported. Updates are provided via the system settings. Additional applications are installed via the Open Store.
Apps for UT are bundled as click packages, or clicks for short. The regular way of developing apps for UT is on a(n Ubuntu) Linux desktop with the Clickable tool.
But if for whatever reason you want to develop on your UT device, you will need set up your development environment in a container of some sort.
You can try doing this in a Libertine container. There have been sucesses going this route in the past.
If your device supports it, you could also enable snap support with the Snapz0r app. Then you could install the LXD snap and set up your development environment in a LXD vm or container.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login