Libertine installation broken on Vivid
-
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 ofports.ubuntu.com/ubuntu-ports
withold-releases.ubuntu.com/ubuntu
and addold-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.
-
I have a pull request for this ready here. Hopefully we are not too late to get it in for OTA-3
-
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!
-
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