• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 1.5k 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 22 Jul 2020, 10:53

      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-5), Pocophone F1 (pmOS, edge)

      ? A 2 Replies Last reply 22 Jul 2020, 12:35 Reply Quote 0
      • ? Offline
        A Former User @sven
        last edited by 22 Jul 2020, 12:35

        @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 22 Jul 2020, 14:22 Reply Quote 0
        • S Offline
          sven @Guest
          last edited by sven 22 Jul 2020, 14:22

          @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-5), Pocophone F1 (pmOS, edge)

          ? 1 Reply Last reply 22 Jul 2020, 14:33 Reply Quote 0
          • ? Offline
            A Former User @sven
            last edited by 22 Jul 2020, 14:33

            @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
            • A Offline
              arubislander @sven
              last edited by 22 Jul 2020, 17:24

              @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
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              Meizu Pro 5 (16.04 DEV)

              S 1 Reply Last reply 22 Jul 2020, 18:42 Reply Quote 0
              • S Offline
                sven @arubislander
                last edited by 22 Jul 2020, 18:42

                @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-5), Pocophone F1 (pmOS, edge)

                1 Reply Last reply Reply Quote 0
                • A Offline
                  arubislander
                  last edited by arubislander 22 Jul 2020, 18:44

                  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
                  Google Pixel 3a (20.04 DEV)
                  JingPad (24.04 preview)
                  Meizu Pro 5 (16.04 DEV)

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    menos_16
                    last edited by 29 Nov 2020, 17:09

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

                    Did someone get a solution?

                    Z 1 Reply Last reply 11 Mar 2021, 05:43 Reply Quote 0
                    • Z Offline
                      zhangrelay @menos_16
                      last edited by 11 Mar 2021, 05:43

                      @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 11 Mar 2021, 11:24 Reply Quote 0
                      • S Offline
                        sven @zhangrelay
                        last edited by 11 Mar 2021, 11:24

                        @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-5), Pocophone F1 (pmOS, edge)

                        1 Reply Last reply Reply Quote 0
                        • Z Offline
                          zhangrelay
                          last edited by 13 Mar 2021, 01:09

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