Closed JuiP closed 4 years ago
Thanks. I knew about these problems, and have no plans to fix them. Sugar Live Build is written and tested against Debian. Ubuntu have made their own incompatible changes, the least of which is the name of the distribution.
You're welcome to make a fork that works on Ubuntu, and let me see it, and I may take parts of it, but at this stage I don't need Sugar Live Build to run on Ubuntu at all; I use a Debian schroot as isolation.
For building Ubuntu based Sugar distributions, I use an OLPC OS specific builder that remasters the distribution media by adding packages from an archive.
If you just wanted to use Sugar Live Build, you don't need to rebuild it. Just download the ISO.
Alright, Thanks for help. :) I had already got the Sugar Live Build running on the virtual machine, I was just trying to test sugar-live-build compatibility with ubuntu, when I came across this issue. I now understand that ubuntu mode support is not a priority at the moment.
Nevertheless, I would like to mention the changes I tried making to work around the issue, just in case someone else would also like to continue making changes.
I have not investigated further but so far the error is not resolved. It might be live-build which is not copying the files properly, it might be apt-ftparchive which is not generating the Packages file correctly or it might be apt-get not finding the package.
Thanks. If you do get it working in Ubuntu, please offer to support it for others. It is beyond my own needs.
Looking at the errors you reported, the most recent were missing packages, and those packages are not missing when a properly configured Ubuntu 18.04 Bionic system is tested. The package names can be independently verified by visiting a URL of packages.ubuntu.com/N, e.g. https://packages.ubuntu.com/metacity. So there's something wrong with either the archive, transparent proxy servers, or your configuration of debootstrap.
Yes, I already verified the package names. Out of all the things you mentioned I just seemed to have overlooked checking the configuration of debootstrap. I will surely offer to support it for other Ubuntu users if it all I get it working.
Few errors after trying to rebuild on ubuntu. ( Since Ubuntu is derived from Debian, most of things should work fine)
I tried fixing the mirror configuration and caching proxy by ensuring that these packages were up-to-date: qemu-user-static, binfmt-support,qemu-kvm qemu-utils,ubuntu-keyring and changed to the country specific mirror files. Nothing really made a difference.
Later I found the index of ubuntu archives from where the release file was supposed to be fetched: http://in.archive.ubuntu.com/ubuntu/dists/bionic/ Since it had bionic instead of buster I fixed the source code auto->config file-> and changed the distribution to bionic. Now I didn't get the same error as before however I ended up with a new set of errors-
Should I go ahead with fixing all these errors too, just to rebuild the sugar-live-build on ubuntu?