[qubes-users] Ubuntu Trusty - make qubes-os-iso

2017-06-30 Thread kennethjohnson6
There looks to be a dependency issue when using make qubes-os-iso to build a 
trusty ISO. Verbose logging enabled output:


The following packages have unmet dependencies:
 systemd-services : Depends: libsystemd-daemon0 (= 204-5ubuntu20) but 
208-8ubuntu8 is to be installed
E: Unable to correct problems, you have held broken packages.
+ retval=100
+ true
+ true
+ return 100
+ cleanup
+ errval=100
+ trap - ERR EXIT
+ trap
+ error 
'/home/user/qubes-builder/qubes-src/builder-debian/template_qubuntu/02_install_groups.sh:
 Error.  Cleaning up and un-mounting any existing mounts'
+ output 'ERROR: 
/home/user/qubes-builder/qubes-src/builder-debian/template_qubuntu/02_install_groups.sh:'
 Error. Cleaning up and un-mounting any existing mounts

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/cad2a8dd-9c7a-42aa-b5d3-f95bed86e456%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] ubuntu template

2017-06-27 Thread kennethjohnson6
On Friday, March 3, 2017 at 7:07:07 AM UTC-8, Unman wrote:
> On Fri, Feb 10, 2017 at 11:15:18PM +, Unman wrote:
> > On Fri, Feb 10, 2017 at 10:04:54AM -0800, damien.wa...@gmail.com wrote:
> > > Le jeudi 9 février 2017 12:41:42 UTC+1, Unman a écrit :
> > > > On Thu, Feb 09, 2017 at 02:37:36AM -0800, wrote:
> > > > > Hi,
> > > > > 
> > > > > I am new into qubes (few months) and find it great. But I need a 
> > > > > distro with newer packages (debian jessie was fine until I ran in 
> > > > > issues with encfs compatibility).
> > > > > 
> > > > > So I wanted to build an ubuntu template but I did not found clear 
> > > > > instructions.
> > > > > 
> > > > > using https://github.com/QubesOS/qubes-builder and the setup script, 
> > > > > I do not get ubuntu to choose in the menu.
> > > > > 
> > > > > On this forum, there is few posts about it but using privaze repo.
> > > > > 
> > > > > I really need help on this :-)
> > > > > 
> > > > > Best regards,
> > > > > 
> > > > > Damien
> > > > > 
> > > > 
> > > > Hi Damien,
> > > > 
> > > > The Ubuntu builds are referenced in setup as Trusty and Xenial.
> > > > 
> > > > I've just put in a series of Pull Requests that should allow
> > > > straightforward builds of both.
> > > > Wait a little while for them to be merged. 
> > > > 
> > > > It should then be a matter of:
> > > > git clone  https://github.com/QubesOS/qubes-builder
> > > > cd qubes-builder
> > > > ./setup
> > > > make qubes-vm
> > > > make template
> > > > 
> > > > Copy generated Template to dom0 and install - there's a handy script
> > > > provided to do this for you.
> > > > 
> > > > I'll let you know when the PRs are merged. Focus at the moment is on
> > > > the GSOC applications.
> > > > 
> > > > unman
> > > 
> > > Hi, thank you !
> > > 
> > > Is there a way I may support you? maybe I can test it?
> > > 
> > > 
> > > Best regards,
> > > 
> > > Damien
> > > 
> > 
> > As soon as the PRs are merged I'll post to the list, and you can try it
> > then. (Or you could merge them yourself of course, and try the build.)
> > Testing and feedback would be much appreciated.
> > 
> > I've been using Xenial for a while and it seems fine.
> 
> PRs are merged, to master if nor 3.2
> 
> This means that both Xenial and Trusty should build straight.
> 
> Set up a build environment as per docs.
> 
> git clone  https://github.com/QubesOS/qubes-builder
> cd qubes-builder
> ./setup (select builder-debian and trsut/xenial variants, deselect
> fed23)
> edit builder.conf, changing RELEASE:=3.2 to RELEASE:=master
> make switch-branch (to get latest and greatest versions of components)
> make qubes-vm
> make template
> 
> cheers
> 
> unman

Is this still usable today? I switched the branch to master and I went from 
having a failure in debootstrap at the make template stage to a failure at the 
make qubes-vm stage. 

To be clear the debootstrap.log was showing an entry "chroot: failed to run 
command 'mount': No such file or directory" where I could see mount was in the 
/bin dir when I mounted and checked.

This issue in make qubes-vm appears to happen because core-agent-linux cannot 
find files.
...
make[1]: Entering directory `/home/user/qubes-src/core-agent-linux'
dh_install --fail-missing
cp: cannot stat 
'debian/tmp/lib/systemd/system/avahi-daemon.service.d/30_qubes.conf': No such 
file or directory
dh_install: cp -a 
debian/tmp/lib/systemd/system/avahi-daemon.service.d/30_qubes.conf 
debian/qubes-core-agent//lib/systemd/system/avahi-daemon.service.d/ returned 
exit code 1
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory `/home/user/qubes-src/core-agent-linux'
...

One thing I tried doing in an prior run was git checkout v3.2.18 as per 
https://github.com/QubesOS/qubes-core-agent-linux/releases/tag/v3.2.18 running 
on a hunch that the 4.0 code is messing with something which did indeed work 
and it continued on. v3.2.18 is the last v3 release you guys have. But shortly 
after it failed in another module. I followed the same steps, checked out a v3 
version and it continued on. did that I think one more time and make qubes-vm 
finishes. 

Now I run make template and fails in debootstrap same as initially. 

Is there an Ubuntu guide out there that is relevant and works? I have been 
scouring the web for 3 days now trying to get a trusty and xenial template 
built.

-- 
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 post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/51fb134f-5177-485b-a7d9-d98e4497ac87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.