• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

sudo apt update, error:30: Read-only file system

Scheduled Pinned Locked Moved App Development
2 Posts 2 Posters 442 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      naofeifei
      last edited by 20 Sept 2024, 01:26

      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?

      A 1 Reply Last reply 20 Sept 2024, 07:31 Reply Quote 0
      • A Offline
        arubislander @naofeifei
        last edited by 20 Sept 2024, 07:31

        @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.

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        Google Pixel 3a (20.04 DEV)
        JingPad (24.04 preview)
        Meizu Pro 5 (16.04 DEV)

        1 Reply Last reply Reply Quote 3
        2 out of 2
        • First post
          2/2
          Last post