Ubuntu templates

144 views
Skip to first unread message

unman

unread,
Oct 8, 2018, 10:28:26 AM10/8/18
to qubes...@googlegroups.com
It's now straight forward to build templates for bionic as well as xenial,
using qubes-builder.

If you want to try them out before building, I've uploaded freshly built
templates for 4.0, including a fairly hefty xenial-desktop template.
You can find details at https://qubes.3isec.org

Updated packages are available from the repositories there, if you
already have a working template.

unman

Frank Schäckermann

unread,
Oct 25, 2018, 8:03:07 AM10/25/18
to qubes...@googlegroups.com
Hi unman!

I am trying to build the bionic template for Qubes 3.2 and the “make qubes-vm” works fine after adding the “Build-Depends: dephelper” to the control file of meta-packages.

But the “make template” fails with

E: Couldn’t find these debs: apt-transport-https
make[1]: *** [Makefile:63: rootimg-build] Error 1

Any idea what is going wrong here?

Regards, Frank
> --
> 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...@googlegroups.com.
> To post to this group, send email to qubes...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20181008142823.si4a2aw7i5fhifch%40thirdeyesecurity.org.
> For more options, visit https://groups.google.com/d/optout.

unman

unread,
Oct 25, 2018, 9:58:55 AM10/25/18
to qubes...@googlegroups.com
On Thu, Oct 25, 2018 at 02:03:02PM +0200, Frank Schäckermann wrote:
> Hi unman!
>
> I am trying to build the bionic template for Qubes 3.2 and the “make qubes-vm” works fine after adding the “Build-Depends: dephelper” to the control file of meta-packages.
>
> But the “make template” fails with
>
> E: Couldn’t find these debs: apt-transport-https
> make[1]: *** [Makefile:63: rootimg-build] Error 1
>
> Any idea what is going wrong here?
>
> Regards, Frank
>
> > On 8. Oct 2018, at 16:28, unman unman-at-thirdeyesecurity.org |qubes-mailing-list/Example Allow| <ua7fr...@sneakemail.com> wrote:
> >
> > It's now straight forward to build templates for bionic as well as xenial,
> > using qubes-builder.
> >
> > If you want to try them out before building, I've uploaded freshly built
> > templates for 4.0, including a fairly hefty xenial-desktop template.
> > You can find details at https://qubes.3isec.org
> >
> > Updated packages are available from the repositories there, if you
> > already have a working template.
> >
> > unman

Hi Frank

That package is in bionic repositories for sure.
I'll run a 3.2 and see if I encounter any problems, and get back to you.

unman

unman

unread,
Oct 26, 2018, 7:21:39 AM10/26/18
to qubes...@googlegroups.com
I see the problem.
The package isnt in main but in universal.
Adding universal to the debootstrap options isnt enough because then the
install fails because the Qubes package repos put all files in main.
I'll work up a fix and put in a PR.
I'll post back here too with the details to save you time.

unman

Frank Schäckermann

unread,
Oct 26, 2018, 10:51:28 AM10/26/18
to qubes...@googlegroups.com
Great! Thanks!

Patrick

unread,
Oct 26, 2018, 6:23:34 PM10/26/18
to qubes-users

Hi, I came to find this answer too, what is the best way to install an ubuntu vm?

Also, just fyi, I want to run the VMware-Horizon-Client in order to run VDI. Documentation says it's tested on ubuntu and Red Hat.

Thanks,
Patrick

unman

unread,
Oct 27, 2018, 10:51:56 PM10/27/18
to qubes-users
You can build your own template using qubes-builder.
Instructions for that are in the docs:
https://www.qubes-os.org/doc/qubes-builder

Use ./setup to select the ubuntu version you want, then make qubes-vm and
make template will produce a new template.
Actually, the build is broken at the moment while I figure out how best
to deal with incorporating apt-transport-https in to the build, and mix
in security updates.

In the meantime you can download some prebuilt Ubuntu templates from
https://qubes.3isec.org/

Whatever route you take, transfer the template to dom0 and install it
using dnf install <template name>

unman


Patrick

unread,
Oct 30, 2018, 12:07:41 AM10/30/18
to qubes-users

Thanks Unman,

Only, what's the difference between bionic and xenial? Sorry. Anyway I'm using 64 bit, qubes 4.0 on an Acer Aspire 5 - AS15

Thanks.

unman

unread,
Oct 30, 2018, 7:27:45 AM10/30/18
to qubes-users
They are different code names for Ubuntu releases.
https://www.wikipedia.org/wiki/Ubuntu_version_history may help

unman
Reply all
Reply to author
Forward
0 new messages