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

Libertine installation broken on Vivid

Scheduled Pinned Locked Moved Support
4 Posts 3 Posters 1.8k Views 4 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.
    • T Offline
      Tonoxis
      last edited by Tonoxis 12 Dec 2017, 06:31

      Due to some changes on ports.ubuntu.com (namely, the move of the vivid repository to old-releases), future users may find that creating containers in Libertine is broken (until Xenial comes along, then this fix isn't needed any longer).

      The fix is trivial for the chroot backend, simply open /usr/lib/python3/dist-packages/libertine/ChrootContainer.py and replace all mention of ports.ubuntu.com/ubuntu-ports with old-releases.ubuntu.com/ubuntu and add old-releases.ubuntu.com/ubuntu to the end of the debootstrap command in the same file (after the {}s)

      This will patch libertine until UBports forks it and commits the fix to their repository. You will need your system image mounted read-write to make the change, to do this non-permanently, simply do sudo mount -o remount,rw / it will remount as read-only after a reboot with the changes intact.

      Edit: I have added the general gist of the information (minus the exact fixes) to issue #302 of the ubports/ubuntu-touch issue tracker.

      1 Reply Last reply Reply Quote 2
      • D Offline
        DanChapman
        last edited by DanChapman 14 Dec 2017, 19:22

        I have a pull request for this ready here. Hopefully we are not too late to get it in for OTA-3

        Support Dekko development: https://www.patreon.com/dekkoproject

        1 Reply Last reply Reply Quote 1
        • T Offline
          Tonoxis
          last edited by 17 Dec 2017, 04:47

          Wonderful! @DanChapman Thank you very much for doing the pull request. I see that it was merged with the ubports libertine repo, so that's great!

          1 Reply Last reply Reply Quote 1
          • G Offline
            G1ott1
            last edited by G1ott1 24 Dec 2017, 17:52

            Thanks for the update.
            I just noticed that on an already installed libertine you need to edit
            ~/.cache/libertine-container/first/rootfs/etc/apt/sources.list
            changing the URLs therein to
            http://old-releases.ubuntu.com/ubuntu

            Cheers

            1 Reply Last reply Reply Quote 0
            • First post
              Last post