Focal Fossa Template Fails on 4.0.3

I’m trying to build an Ubuntu-20 template on Qubes 4.0.3 using qubes-builder and the method described

here. I’ve done this successfully for Ubuntu 18.04, bionic+desktop, however, with focal+desktop, I always hit an error towards the final step or two.

The last 4 steps are these:

make install-deps
make get-sources
make qubes-vm
make template

I always get some error about a focal script which does not exist, such as this:

[user@ubuntu-builder qubes-builder]$ make qubes-vm
Currently installed dependencies:
createrepo_c-0.15.11-1.fc31.x86_64
createrepo_c-0.15.11-1.fc31.x86_64
debootstrap-1.0.116-1.fc31.noarch
devscripts-2.19.6-2.fc31.x86_64
dialog-1.3-21.20190808.fc31.x86_64
dpkg-dev-1.19.7-3.fc31.noarch
git-2.25.4-1.fc31.x86_64
perl-Digest-MD5-2.55-439.fc31.x86_64
perl-Digest-SHA-6.02-440.fc31.x86_64
python3-sh-1.12.14-13.fc31.noarch
rpm-build-4.15.1-2.fc31.x86_64
rpmdevtools-8.10-9.fc31.noarch
-> Preparing focal build environment
-> Installing qubuntu build chroot...
E: No such script: /usr/share/debootstrap/scripts/focal
cat: /home/user/qubes-builder/chroot-vm-focal/debootstrap/debootstrap.log: No such file or directory
make[1]: *** [/home/user/qubes-builder/qubes-src/builder-debian//Makefile-legacy.debian:28: /home/user/qubes-builder/chroot-vm-focal/home/user/.prepared_base] Error 1
make: *** [Makefile:254: vmm-xen-vm] Error 1

Is there some work-around for this or pre-requisite that I’m missing? Running this on Qubes 4.0.3, using fedora-31-xfce template to build this focal+dekstop template. I sourced the fedora-31-xfce template the same way without error (using qubes-builder).

The build should use fedora-32 as a template.
By the way, fedora-31 has reached EOL and should no longer be used.

1 Like