I have the same problem 2.5 years after your post. Did you find a fix for 
this issue?
I followed the following tutorials:

https://blockforums.org/topic/451-guide-to-installing-qbuntu-ubuntu-2004-focal-fossa-templatevm-in-qubes-release-404-rc1/
https://blockforums.org/topic/305-guide-to-installing-qbuntu-ubuntu-1604-xenial-templatevm-in-qubes-402-rc1/
https://www.reddit.com/r/Qubes/comments/5vzg04/idiots_guide_to_installing_qbuntu_ubuntu_1604/
https://www.qubes-os.org/doc/qubes-builder/
https://github.com/Qubes-Community/Contents/blob/master/docs/os/ubuntu.md

sourcexorapprentice schrieb am Sonntag, 21. Juli 2019 um 04:26:40 UTC+2:

> Greetings,
>
> I'm having some errors in using qubes-builder in r4.0 on a Fedora 30 
> template clone to build an Ubuntu Bionic 18.04 template. 
>
> On make template, the error I'm receiving is for an 'Architecture-Header' 
> wanting amd64 in a config file somewhere, followed by probably my real 
> error:
> "The repository 'https://deb.qubes-os.org/r4.0/vm bionic Release' does 
> not have a Release file."
>
> This feels like a really basic Linux package manager issue I *should* be 
> able to fix but it's not coming to me. The repository is of course for 
> Debian and so would not contain Bionic:
> https://deb.qubes-os.org/r4.0/vm/dists/
>
> Generally I was following the Qubesos.org/Github repo instructions as well 
> as this:
>
> https://www.reddit.com/r/Qubes/comments/5vzg04/idiots_guide_to_installing_qbuntu_ubuntu_1604/
> First, I had installed dependencies, git clone the qubes-builder Github 
> repo, added the Qubes and Debian 8-10 release keys. Then, ran ./setup.sh, I 
> selected my version of Qubes 4.0, "current", "yes" for stable, in the 
> repository plugin options had left "mgmt-salt" alongside "builder-debian", 
> and selected "bionic+desktop" and "yes" to build only template. 
>
> Last lines of the make error log:
>
> Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version
> Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
> Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
> Warning: apt-key output should not be parsed (stdout is not a terminal)
> 'qubes-mgmt-salt_4.0.19-1+bionicu1_amd64.buildinfo' looks like 
> architecture 'amd64', but this is not listed in the Architecture-Header!
> Ignoring as --ignore=surprisingarch given.
> Unknown file type: '935d34325afc0ff3fca2caaa64aa7d06 1699984 debug 
> optional libxen-4.8-dbgsym_4.8.5-7+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'libxen-4.8-dbgsym_4.8.5-7+bionicu1_amd64.ddeb' looks like 
> source but does not start with 'xen_'!
> Unknown file type: 'bb311f5928ac86f87b83a765c16a521f 26812 debug optional 
> libxenstore3.0-dbgsym_4.8.5-7+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'libxenstore3.0-dbgsym_4.8.5-7+bionicu1_amd64.ddeb' looks 
> like source but does not start with 'xen_'!
> Unknown file type: '8f969bf639d748a5050b7620da5cc3b6 16996 debug optional 
> xenstore-utils-dbgsym_4.8.5-7+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'xenstore-utils-dbgsym_4.8.5-7+bionicu1_amd64.ddeb' looks 
> like source but does not start with 'xen_'!
> Unknown file type: '1dcecfc360d3f3f082d5b0af96b9bcf3 12268 debug optional 
> libvchan-xen-dbgsym_4.0.5-1+bionicu1_amd64.ddeb', assuming source format...
> Warning: File 'libvchan-xen-dbgsym_4.0.5-1+bionicu1_amd64.ddeb' looks like 
> source but does not start with 'libvchan-xen_'!
> Unknown file type: 'a35fe26b53b1d9a75b7785e8b8d5f0cd 11184 debug optional 
> libqubesdb-dbgsym_4.0.10-1+bionicu1_amd64.ddeb', assuming source format...
> Warning: File 'libqubesdb-dbgsym_4.0.10-1+bionicu1_amd64.ddeb' looks like 
> source but does not start with 'qubesdb_'!
> Unknown file type: '79ee3181db7c869b6f239a88fb127435 15520 debug optional 
> python-qubesdb-dbgsym_4.0.10-1+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'python-qubesdb-dbgsym_4.0.10-1+bionicu1_amd64.ddeb' looks 
> like source but does not start with 'qubesdb_'!
> Unknown file type: 'b4a5abc704ec08ba2070251ff98ddcb1 16792 debug optional 
> python3-qubesdb-dbgsym_4.0.10-1+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'python3-qubesdb-dbgsym_4.0.10-1+bionicu1_amd64.ddeb' looks 
> like source but does not start with 'qubesdb_'!
> Unknown file type: '4699162442699b71bbdcec2d4c6b1858 34820 debug optional 
> qubesdb-dbgsym_4.0.10-1+bionicu1_amd64.ddeb', assuming source format...
> Warning: File 'qubesdb-dbgsym_4.0.10-1+bionicu1_amd64.ddeb' looks like 
> source but does not start with 'qubesdb_'!
> Unknown file type: '9013109a50f7ed350eafaac669708507 15428 debug optional 
> libqrexec-utils2-dbgsym_4.0.25+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'libqrexec-utils2-dbgsym_4.0.25+bionicu1_amd64.ddeb' looks 
> like source but does not start with 'qubes-utils_'!
> Unknown file type: '8dcb4edf3df86112ff6dc5fe333d262a 17592 debug optional 
> libqubes-rpc-filecopy2-dbgsym_4.0.25+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'libqubes-rpc-filecopy2-dbgsym_4.0.25+bionicu1_amd64.ddeb' 
> looks like source but does not start with 'qubes-utils_'!
> Unknown file type: '949075b84b10dd2b2165f73b74f6b27f 8588 debug optional 
> qubes-utils-dbgsym_4.0.25+bionicu1_amd64.ddeb', assuming source format...
> Warning: File 'qubes-utils-dbgsym_4.0.25+bionicu1_amd64.ddeb' looks like 
> source but does not start with 'qubes-utils_'!
> Unknown file type: 'fd40cfa22ee3d225d5c05bfadab59a16 44288 debug optional 
> qubes-core-agent-dbgsym_4.0.47-1+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'qubes-core-agent-dbgsym_4.0.47-1+bionicu1_amd64.ddeb' looks 
> like source but does not start with 'qubes-core-agent_'!
> Unknown file type: '2e79c2ad6ad6e6a7fc5f8ec374da69e1 54012 debug optional 
> qubes-core-agent-qrexec-dbgsym_4.0.47-1+bionicu1_amd64.ddeb', assuming 
> source format...
> Warning: File 
> 'qubes-core-agent-qrexec-dbgsym_4.0.47-1+bionicu1_amd64.ddeb' looks like 
> source but does not start with 'qubes-core-agent_'!
> Unknown file type: 'bce0167ede6c15e5295e170841812262 29272 debug optional 
> pulseaudio-qubes-dbgsym_4.0.24-1+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'pulseaudio-qubes-dbgsym_4.0.24-1+bionicu1_amd64.ddeb' looks 
> like source but does not start with 'qubes-gui-agent_'!
> Unknown file type: 'ad2527517cd89fefcaf242fd2cbfb605 68840 debug optional 
> qubes-gui-agent-dbgsym_4.0.24-1+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'qubes-gui-agent-dbgsym_4.0.24-1+bionicu1_amd64.ddeb' looks 
> like source but does not start with 'qubes-gui-agent_'!
> Unknown file type: 'f4f74d576d6f2ff2edd231705177b090 41032 debug optional 
> xserver-xorg-input-qubes-dbgsym_4.0.24-1+bionicu1_amd64.ddeb', assuming 
> source format...
> Warning: File 
> 'xserver-xorg-input-qubes-dbgsym_4.0.24-1+bionicu1_amd64.ddeb' looks like 
> source but does not start with 'qubes-gui-agent_'!
> Unknown file type: '0ce10c6000edfcd13a50e24acf7d8382 71516 debug optional 
> xserver-xorg-video-dummyqbs-dbgsym_4.0.24-1+bionicu1_amd64.ddeb', assuming 
> source format...
> Warning: File 
> 'xserver-xorg-video-dummyqbs-dbgsym_4.0.24-1+bionicu1_amd64.ddeb' looks 
> like source but does not start with 'qubes-gui-agent_'!
> Unknown file type: '7af66306097a9101494d5f469733124e 34304 debug optional 
> qubes-gpg-split-dbgsym_2.0.38-1+bionicu1_amd64.ddeb', assuming source 
> format...
> Warning: File 'qubes-gpg-split-dbgsym_2.0.38-1+bionicu1_amd64.ddeb' looks 
> like source but does not start with 'qubes-gpg-split_'!
> Unknown file type: '9e802525b84d568f92d97c1ee02d3665 13304 debug optional 
> qubes-input-proxy-receiver-dbgsym_1.0.15-1+bionicu1_amd64.ddeb', assuming 
> source format...
> Warning: File 
> 'qubes-input-proxy-receiver-dbgsym_1.0.15-1+bionicu1_amd64.ddeb' looks like 
> source but does not start with 'qubes-input-proxy_'!
> Unknown file type: '4a896e0e7c61fd536ff643c690e19d1b 7672 debug optional 
> qubes-input-proxy-sender-dbgsym_1.0.15-1+bionicu1_amd64.ddeb', assuming 
> source format...
> Warning: File 
> 'qubes-input-proxy-sender-dbgsym_1.0.15-1+bionicu1_amd64.ddeb' looks like 
> source but does not start with 'qubes-input-proxy_'!
> 'qubes-mgmt-salt_4.0.19-1+bionicu1_amd64.buildinfo' looks like 
> architecture 'amd64', but this is not listed in the Architecture-Header!
> Ignoring as --ignore=surprisingarch given.
> Skipping inclusion of 'qubes-mgmt-salt' '4.0.19-1+bionicu1' in 
> 'bionic|main|amd64', as it has already '4.0.19-1+bionicu1'.
> Skipping inclusion of 'qubes-mgmt-salt-vm' '4.0.19-1+bionicu1' in 
> 'bionic|main|amd64', as it has already '4.0.19-1+bionicu1'.
> Skipping inclusion of 'qubes-mgmt-salt-vm-formulas' '4.0.19-1+bionicu1' in 
> 'bionic|main|amd64', as it has already '4.0.19-1+bionicu1'.
> Skipping inclusion of 'qubes-mgmt-salt-vm-connector' '4.0.19-1+bionicu1' 
> in 'bionic|main|amd64', as it has already '4.0.19-1+bionicu1'.
> Skipping inclusion of 'qubes-mgmt-salt-shared-formulas' 
> '4.0.19-1+bionicu1' in 'bionic|main|amd64', as it has already 
> '4.0.19-1+bionicu1'.
> Skipping inclusion of 'qubes-mgmt-salt-dom0' '4.0.19-1+bionicu1' in 
> 'bionic|main|amd64', as it has already '4.0.19-1+bionicu1'.
> Skipping inclusion of 'qubes-mgmt-salt-dom0-formulas' '4.0.19-1+bionicu1' 
> in 'bionic|main|amd64', as it has already '4.0.19-1+bionicu1'.
> Skipping inclusion of 'qubes-mgmt-salt-config' '4.0.19-1+bionicu1' in 
> 'bionic|main|amd64', as it has already '4.0.19-1+bionicu1'.
> Skipping inclusion of 'qubes-mgmt-salt' '4.0.19-1+bionicu1' in 
> 'bionic|main|source', as it has already '4.0.19-1+bionicu1'.
> 'qubes-mgmt-salt-base_4.0.3-1+bionicu1_amd64.buildinfo' looks like 
> architecture 'amd64', but this is not listed in the Architecture-Header!
> Ignoring as --ignore=surprisingarch given.
> 'qubes-mgmt-salt-base-topd_4.0.1-1+bionicu1_amd64.buildinfo' looks like 
> architecture 'amd64', but this is not listed in the Architecture-Header!
> Ignoring as --ignore=surprisingarch given.
> 'qubes-mgmt-salt-base-config_4.0.1-1+bionicu1_amd64.buildinfo' looks like 
> architecture 'amd64', but this is not listed in the Architecture-Header!
> Ignoring as --ignore=surprisingarch given.
> 'qubes-mgmt-salt-base-overrides_4.0.2-1+bionicu1_amd64.buildinfo' looks 
> like architecture 'amd64', but this is not listed in the 
> Architecture-Header!
> Ignoring as --ignore=surprisingarch given.
> Makefile:195: target 'mgmt-salt.get-sources' given more than once in the 
> same rule
> Makefile:197: target 'mgmt-salt.get-sources-extra' given more than once in 
> the same rule
> Makefile:218: target 'mgmt-salt-vm' given more than once in the same rule
> Makefile:230: target 'mgmt-salt-dom0' given more than once in the same rule
> Makefile:427: target 'mgmt-salt.clean' given more than once in the same 
> rule
> Makefile:578: target 'mgmt-salt.grep' given more than once in the same rule
> -> Building template bionic (logfile: build-logs/template-bionic.log)...
> make: *** [Makefile:312: template-local-bionic+desktop] Error 1
>
>
> The log referenced in build-logs/template-bionic.log states:
> Reading package lists...
> Building dependency tree...
> Reading state information...
> The following packages will be REMOVED:
>   unattended-upgrades*
> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> After this operation, 393 kB disk space will be freed.
> E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such 
> file or directory)
> (Reading database ... 100641 files and directories currently installed.)
> Removing unattended-upgrades (1.1ubuntu1.18.04.11) ...
> Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
> (Reading database ... 100616 files and directories currently installed.)
> Purging configuration files for unattended-upgrades (1.1ubuntu1.18.04.11) 
> ...
> debconf: unable to initialize frontend: Dialog
> debconf: (TERM is not set, so the dialog frontend is not usable.)
> debconf: falling back to frontend: Readline
> Processing triggers for ureadahead (0.100.0-21) ...
> Processing triggers for systemd (237-3ubuntu10.24) ...
> Removing 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
> -> Unmounting prepared_image...
> --> Copying prepared_images/bionic-desktop.img to 
> qubeized_images/bionic-desktop/root.img...
> --> Mounting qubeized_images/bionic-desktop/root.img
> Adding 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
> Warning: apt-key output should not be parsed (stdout is not a terminal)
> OK
> Get:1 file:/tmp/qubes_repo bionic InRelease
> Ign:1 file:/tmp/qubes_repo bionic InRelease
> Get:2 file:/tmp/qubes_repo bionic Release [340 B]
> Get:2 file:/tmp/qubes_repo bionic Release [340 B]
> Get:3 file:/tmp/qubes_repo bionic Release.gpg
> Ign:3 file:/tmp/qubes_repo bionic Release.gpg
> Get:4 file:/tmp/qubes_repo bionic/main amd64 Packages [11.8 kB]
> Hit:5 http://archive.canonical.com/ubuntu bionic InRelease
> Hit:6 http://archive.ubuntu.com/ubuntu bionic InRelease
> Get:7 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
> Ign:8 https://deb.qubes-os.org/r4.0/vm bionic InRelease
> Err:9 https://deb.qubes-os.org/r4.0/vm bionic Release
>   404  Not Found [IP: 147.75.32.69 443]
> Get:10 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
> Reading package lists...
> E: The repository 'https://deb.qubes-os.org/r4.0/vm bionic Release' does 
> not have a Release file.
> Removing 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
> make[1]: *** [Makefile:64: rootimg-build] Error 100
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/014f7099-67ec-424d-ad1f-49a5600d0accn%40googlegroups.com.

Reply via email to