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

    Installing Focal on FP2

    Scheduled Pinned Locked Moved Fairphone 2
    3 Posts 2 Posters 1.6k Views 1 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.
      • O Offline
        oli.sax
        last edited by

        Hello!

        I noticed that a Focal 20.04 devel channel is available for Fairphone2 🙂
        It was announced in Q&A 139 and discussed again in Q&A 145

        Note that the installer shows also a "utnext" channel but this one is empty.

        I tried today the installation with the UBPorts installer and although the installer says OK, the update fails on device...

        Here is the last lines of /lcache/recovery/last_log:

        Formating: data
        Applying update: rootfs-667574dc2fe9dfc34749223cd8e4c79d16c281c877e5085dbb08d30fa80c8ba5.tar.xz
        Applying update: device-62de4f47c45b06d837264a7300848242e6310a928e58c24d2cef022c9aaa4335.tar.xz
        tar: write error: No space left on device
        Update faled, please reboot and try again...
        
        O 1 Reply Last reply Reply Quote 0
        • O oli.sax referenced this topic on
        • O Offline
          oli.sax @oli.sax
          last edited by oli.sax

          Trying to understand the "no space left" issue...

          Here is the file size:

          • 16.04 Stable (version 23)

            • ubports 356 Mo compr., 1379 Mo extr.
            • device 69 Mo compr., 181 Mo extr.
          • 20.04 Devel (version 146)

            • rootfs 456 Mo compr., 1664 Mo extr.
            • device 88 Mo compr., 227 Mo extr.

          When 16.04 is installed, the extracted size ( 1379+181 = 1560 Mo) corresponds to this partition:

          df -h
          Filesystem                      Size  Used Avail Use% Mounted on
          /dev/loop0                      2.0G  1.6G  241M  88% /
          

          What I don't understand is why 20.04 installation is failing; while the extracted size (1664+227 = 1891 Mo) should still be inferior to the 2 Go partition size... 🤔

          EDIT: I made a trial on my computer. Decompressing both rootfs and device tar.xz on an empty ext4 image file, the used space is 2,041,232 Kb; so more than the phone partition size!
          There is not enough free space on the partition to hold the data. The deficit is about 170 MB.

          L 1 Reply Last reply Reply Quote 1
          • L Offline
            lk108 @oli.sax
            last edited by

            @oli.sax I asked regarding this in the "UBports Welcome & Install help [English]" Telegram channel back in April. Someone responded "oh crap i forgot to fix that". I did not follow up as it was not that important to me.

            1 Reply Last reply Reply Quote 1

            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
            • First post
              Last post