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

    libertine-container-manager create fails:

    Scheduled Pinned Locked Moved Support
    11 Posts 5 Posters 2.4k Views 3 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.
    • S Offline
      sven
      last edited by sven

      I run via ssh:
      libertine-container-manager create -i prio1 -t chroot
      The first error message:
      I: Configuring libc-bin... W: Failure while configuring required packages. W: See /home/phablet/.cache/libertine-container/prio1/rootfs/debootstrap/debootstrap.log for details (possibly the package makedev is at fault)
      The mentioned file contains the following lines for libc-bin:
      Processing triggers for libc-bin (2.23-0ubuntu3) ... Errors were encountered while processing: makedev (Reading database ... 6882 files and directories currently installed.
      Later on:
      I: Configuring libc-bin... W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /home/phablet/.cache/libertine-container/prio1/rootfs/debootstrap/debootstrap.log for details (possibly the package makedev is at fault)
      and
      Setting up makedev (2.3.1-93ubuntu2~ubuntu16.04.1) ...^M grep: /proc/1/environ: Permission denied^M mknod: mem-: Permission denied^M makedev mem c 1 1 root kmem 0640: failed^M mknod: kmem-: Permission denied^M makedev kmem c 1 2 root kmem 0640: failed^M mknod: null-: Permission denied^M makedev null c 1 3 root root 0666: failed^M mknod: port-: Permission denied^M makedev port c 1 4 root kmem 0640: failed^M mknod: zero-: Permission denied^M makedev zero c 1 5 root root 0666: failed ...

      I reproduced this behavior 4 times.
      Any help for my OnePlus 3T?

      VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-9), Pocophone F1 (pmOS, edge), FLX1 (Debian)

      ? arubislanderA 2 Replies Last reply Reply Quote 0
      • ? Offline
        A Former User @sven
        last edited by

        @sven Hi! Have you used Libertine before? I'm asking because it's known that is buggy, I never tried it.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sven @Guest
          last edited by sven

          @C0n57an71n I am returning user of Ubuntu Touch. When I first used it in 2017 (?), there was no such nice idea like Libertine. So, today was my first try with Libertine. I think Libertine could offer many benefits, so I hope at least to see some workaround suggestions ...

          VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-9), Pocophone F1 (pmOS, edge), FLX1 (Debian)

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @sven
            last edited by

            @sven I understand! I think you are the third person who's referring to Libertine int the least couple of hours... I'm telling you what I know: it's still in development so expect bugs. I think the team work hard to make one phone fully functional and then move further with "one OS/All machines" concept, but is just a guess...

            1 Reply Last reply Reply Quote 0
            • arubislanderA Offline
              arubislander @sven
              last edited by

              @sven I saw some errors scroll by when I created a container on my PinePhone too. But I decided to ignore them, since in the end the container was created either way.
              Did the container creation fail for you?

              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
              Happily running Ubuntu Touch
              JingPad (24.04-1.x daily)
              OnePlus Nord N10 5G (24.04-2.x daily)
              PinePhone OG (20.04)
              Meizu Pro 5 (16.04 DEV)

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sven @arubislander
                last edited by

                @arubislander Yes, it failed in the end, failure was reported and the remains were automatically deleted.

                VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-9), Pocophone F1 (pmOS, edge), FLX1 (Debian)

                1 Reply Last reply Reply Quote 0
                • arubislanderA Offline
                  arubislander
                  last edited by arubislander

                  Sorry to hear. In that case, I am not certain of the status of Libertine on the OP3T

                  Edit: Found this forum post that mentions libertine not working. Admittedly it is an old post, but still...

                  πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                  Happily running Ubuntu Touch
                  JingPad (24.04-1.x daily)
                  OnePlus Nord N10 5G (24.04-2.x daily)
                  PinePhone OG (20.04)
                  Meizu Pro 5 (16.04 DEV)

                  1 Reply Last reply Reply Quote 0
                  • menos_16M Offline
                    menos_16
                    last edited by

                    I'm getting the same problem, also with the oneplus 3t device...

                    Did someone get a solution?

                    Z 1 Reply Last reply Reply Quote 0
                    • Z Offline
                      zhangrelay @menos_16
                      last edited by

                      @menos_16 try this , https://forums.ubports.com/topic/5699/libertine-container-manager-create-error-makedev , add this line self.run_in_container('apt remove -y makedev') in ChrootContainer.py.

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sven @zhangrelay
                        last edited by

                        @zhangrelay Where in /usr/lib/python3/dist-packages/libertine/ChrootContainer.py should this line be added?

                        VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-9), Pocophone F1 (pmOS, edge), FLX1 (Debian)

                        1 Reply Last reply Reply Quote 0
                        • Z Offline
                          zhangrelay
                          last edited by

                          The following steps work on my phone:

                          1. add self.run_in_container('apt remove -y makedev') to line 86 of /usr/lib/python3/dist-packages/libertine/ChrootContainer.py
                          2. TMPDIR=/tmp libertine-container-manager create --type chroot -i id-container
                            You can also refer to: https://github.com/ubports/ubuntu-touch/issues/1305 .
                          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