Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upUbuntu templates fail to build #3308
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
noptys
Nov 14, 2017
Fix for build issues are in pull requests QubesOS/qubes-core-agent-linux#71 and QubesOS/qubes-gui-agent-linux#25 (replaced pr/24). Both templates have other problems which I am troubleshooting, but should build now.
noptys
commented
Nov 14, 2017
•
|
Fix for build issues are in pull requests QubesOS/qubes-core-agent-linux#71 and QubesOS/qubes-gui-agent-linux#25 (replaced pr/24). Both templates have other problems which I am troubleshooting, but should build now. |
andrewdavidwong
added
bug
C: Debian
labels
Nov 15, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Nov 15, 2017
andrewdavidwong
referenced this issue
Nov 15, 2017
Closed
Failing to build ubuntu template - 4.0rc2 #3310
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
noptys
Nov 17, 2017
The build finishes and creates an installable RPM for both Trusty and Xenial; Xenial basic functionality works, but the finished Trusty template is not usable:
- (1) qubes-vm-recommended fails to install because of a dependency error
- this means access via the console and qvm-run is broken
- (2) make template fails to build after the first attempt
- this is due to a trusty-specific fix for systemd and may not be worth fixing
I think I have (1) fixed; A fix for (2) is in progress.
noptys
commented
Nov 17, 2017
•
|
The build finishes and creates an installable RPM for both Trusty and Xenial; Xenial basic functionality works, but the finished Trusty template is not usable:
I think I have (1) fixed; A fix for (2) is in progress. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
0spinboson
Nov 23, 2017
When I try to build qubes-vm for xenial, I run into a script complaining that it can't locate digest::md5.
0spinboson
commented
Nov 23, 2017
|
When I try to build qubes-vm for xenial, I run into a script complaining that it can't locate digest::md5. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Nov 29, 2017
Member
@0spinboson Can you give some more detail?
What build environment are you using?
Have you run make install-deps ?
At what stage does this error appear?
|
@0spinboson Can you give some more detail? |
andrewdavidwong
referenced this issue
Feb 18, 2018
Closed
Qubes 3.2 doesn't build default ubuntu template #3598
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nextgenthemes
Mar 17, 2018
How am I even supposed to build a ubuntu template. The builder docs redirect me to the guide to build arch. I followed that as far as I could, there is no ubuntu to select in the setup script. I saw in the screenshot that there are ubuntu release names like trusty further down at a step I cant even get it. Also there is no config file to edit for version 4. #3310 speaks of "only select ubuntu" but for me there is no ubuntu to select.
Really want to like Qubes but its rc5 already and if I can't even have a VM with the probably most used desktop linux in a easy way then this sucks.
nextgenthemes
commented
Mar 17, 2018
•
|
How am I even supposed to build a ubuntu template. The builder docs redirect me to the guide to build arch. I followed that as far as I could, there is no ubuntu to select in the setup script. I saw in the screenshot that there are ubuntu release names like trusty further down at a step I cant even get it. Also there is no config file to edit for version 4. #3310 speaks of "only select ubuntu" but for me there is no ubuntu to select. Really want to like Qubes but its rc5 already and if I can't even have a VM with the probably most used desktop linux in a easy way then this sucks. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Mar 17, 2018
Member
I dont understand - If you run the setup script, select "Debian" and click through to get to the list of templates to build. Did you even try this? The config file is generated AFTER you've completed the setup script.
That said, it probably isnt worth your while at the moment because the Ubuntu builds are almost certainly broken in rc5 - as things change there's a lag before the builds are fixed.
I'd suggest you drop down to 3.2 but the builds are currently broken there too.
Sucks indeed.
|
I dont understand - If you run the setup script, select "Debian" and click through to get to the list of templates to build. Did you even try this? The config file is generated AFTER you've completed the setup script. That said, it probably isnt worth your while at the moment because the Ubuntu builds are almost certainly broken in rc5 - as things change there's a lag before the builds are fixed. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nextgenthemes
Mar 18, 2018
I actually somehow by trail and error ended up at least trying to build it - it failed. I messed up the order of things or something, I remember selecting debian first because it made most sense to me but having no options later. I did the config edit before the ./setup and I think thats the way the arch template build docs say I am supposed to do it! So don' give me the "Did you even try this?" @unman when there is nothing the tells me to do it this way. At least I saw nothing. I also encountered some small bugs and the unpolishedness of qubes is making it really hard to decide if I want to move my life to this and invest so much time. I consider just installing kubuntu 18.04 beta1 and get on with my life in a insecure way ;( But its also needs users who actually report bugs.
Recently read a article heading about it wanting to get as polished as Ubuntu. Well its years away from this sadly. But given its been around so many years I think at least a script to build Ubuntu should be at the top of the priority list if it can't be included because of licensing then the users should at least be able to build it on the click of a button instead of going down a long tutorial that involves manually editing files ... that not even works. And there actually is not even anything in the docs on Ubuntu template build. It just says "should be straight forward". When I could have 16.04 and soon 18.04 running at the same time would be a huge deal for me then I could use qubes instead of virtualbox. My guess is that I probably cant run virtualbox from inside a Qube and if I would not really want to.
nextgenthemes
commented
Mar 18, 2018
•
|
I actually somehow by trail and error ended up at least trying to build it - it failed. I messed up the order of things or something, I remember selecting debian first because it made most sense to me but having no options later. I did the config edit before the ./setup and I think thats the way the arch template build docs say I am supposed to do it! So don' give me the "Did you even try this?" @unman when there is nothing the tells me to do it this way. At least I saw nothing. I also encountered some small bugs and the unpolishedness of qubes is making it really hard to decide if I want to move my life to this and invest so much time. I consider just installing kubuntu 18.04 beta1 and get on with my life in a insecure way ;( But its also needs users who actually report bugs. Recently read a article heading about it wanting to get as polished as Ubuntu. Well its years away from this sadly. But given its been around so many years I think at least a script to build Ubuntu should be at the top of the priority list if it can't be included because of licensing then the users should at least be able to build it on the click of a button instead of going down a long tutorial that involves manually editing files ... that not even works. And there actually is not even anything in the docs on Ubuntu template build. It just says "should be straight forward". When I could have 16.04 and soon 18.04 running at the same time would be a huge deal for me then I could use qubes instead of virtualbox. My guess is that I probably cant run virtualbox from inside a Qube and if I would not really want to. |
andrewdavidwong
modified the milestones:
Release 4.0,
Release 4.0 updates
Mar 31, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
aseralis
Apr 7, 2018
Building (xenial) works in 4.0 if you install these missing dependencies:
sudo dnf install perl-Digest-MD5 perl-Digest-SHA
Edit: Nope, build fails with:
First Installation: checking all kernels...
dpkg: warning: version '-' has bad syntax: version number does not start with digit
It is likely that 4.14.18-1.pvops.qubes.x86_64 belongs to a chroot's host
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package linux-image-amd64
Removing 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
make[1]: *** [Makefile:59: rootimg-build] Error 100
aseralis
commented
Apr 7, 2018
•
|
Building (xenial) works in 4.0 if you install these missing dependencies:
Edit: Nope, build fails with:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Apr 9, 2018
Member
Ah, OK since Marek included a 4.0 conf file , which sets TEMPLATE_ROOT_WITH_PARTITIONS the template build pulls in linux-image-amd64 - this isnt available from Ubuntu. The equivalent package is linux-image-generic.
I've put in PR to fix this for Ubuntu builds.
There's a separate issue in that the new template doesn't seem to populate menu with applications. If I can confirm this I'll have this issue closed and raise that as a separate issue.
|
Ah, OK since Marek included a 4.0 conf file , which sets TEMPLATE_ROOT_WITH_PARTITIONS the template build pulls in linux-image-amd64 - this isnt available from Ubuntu. The equivalent package is linux-image-generic. There's a separate issue in that the new template doesn't seem to populate menu with applications. If I can confirm this I'll have this issue closed and raise that as a separate issue. |
noptys commentedNov 14, 2017
Qubes OS version:
R4.0
Affected TemplateVMs:
trusty, xenial
Steps to reproduce the behavior:
Expected behavior:
Actual behavior:
General notes: