Hello, I’m following the steps outlined in the “Qubes ISO builder” and the directions in this github repo by Andrew Wong: Contents/ubuntu.md at master · Qubes-Community/Contents · GitHub. But I’m not able to get past this error after running the “make qubes-vm” command:
I’m looking for help with this issue so I dont believe I need to go to the qubes-devel group. It would be off topic as I am trying to get help with my current issue rather than add a new feature or fix a bug.
If this is your goal then maybe you’d want to consider
but, if your goal is to get an Ubuntu template by building it (you weren’t specific, sorry), then someone more knowledgeable would have to try to help you.
I needed an ubuntu template today to test some software. For security and trust, I must build it and can not download it from an unofficial website
Success! There are two issues. The first one, you already hit. A search turned up a closed issue, you must build the template using the 4.0 build system, not 4.1: https://github.com/QubesOS/qubes-issues/issues/4875
EDIT: For building bionic, use 4.0:
So start over, and select 4.0 as your build system… But first, you must also fix the second issue before you build vmm-xen: You must edit qubes-src/meta-packages/debian/control: "make qubes-vm" failure
bionic, and needed to delete different packages than focal. For bionic, I needed to remove qubes-core-agent-nautilus, and qubes-pdf-converter. Then make qubes-vm followed by make template worked. For focal, I needed to delete qubes-core-agent-dom0-updates and qubes-mgmt-salt-vm-connector.
EDIT: Apparently focal will build fine under 4.1 without changes (not sure, as my build failed on bionic before which prevented an attempt on focal). But if you need bionic, you will need above.
I doubt that responding to a 5 month old post will be particularly
helpful.
In any case, your reply is incorrect.
Bionic is not supported under 4.1 - you may be able to run a template
with 4.0 packages under 4.1.
Focal can be built using the default settings - you don’t need to do any
special editing at all.
I disagree as I wrote the post for search engines, not the original poster.
5 months later, and if you try and follow the official github instructions and try and build both bionic and focal you run into the exact issue the operator ran into. If you search for the errors in the log file with qubes-builder, this thread is one of the top results. If someone tomorrow tries to build both bionic and focal under qubes-4.1 , and then search for a solution, may they find it here. Perhaps I should make a PR to fix the instructions, but that will change soon too when bionic reaches eol and the current instructions are timeless…so I leave search engine fodder here.
Thank you , good to know. I can report the Bionic and Focal templates I built yesterday under 4.0 builder appear to run fine under Qubes 4.1.1 and services in a qube using them have been stable. However, I will rebuild focal with your pointer for 4.1.
Is it documented anywhere which ubuntu releases are supported by which qubes release?