(Qubes OS 4.0) Anyone that built a Ubuntu Xenial template successfully?

398 views
Skip to first unread message

Christoffer Lilja

unread,
Apr 18, 2018, 4:00:19 PM4/18/18
to qubes-users
I've tried to build a Ubuntu Xenial template on Qubes OS 4.0 but I get this error:
dpkg-source: info: using options from core-agent-linux/debian/source/options: --extend-diff-ignore=(^|/)(.git/.*)$ --extend-diff-ignore=(^|/)(deb/.*)$ --extend-diff-ignore=(^|/)(pkgs/.*)$ --extend-diff-ignore=(^|/)(rpm/.*)$
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building qubes-core-agent using existing ./qubes-core-agent_4.0.24.orig.tar.gz
dpkg-source: warning: executable mode 0775 of 'qubes-rpc/qvm-open-in-dvm' will not be represented in diff
dpkg-source: info: local changes detected, the modified files are:
core-agent-linux/qubes-rpc/qvm-open-in-dvm
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/qubes-core-agent_4.0.24-1+xenialu1.diff.raLTJa
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-buildpackage: error: dpkg-source -b core-agent-linux gave error exit status 2
make[2]: *** [/home/user/qubes-builder/qubes-src/builder-debian/Makefile.qubuntu:215: dist-package] Error 2
make[1]: *** [Makefile.generic:166: packages] Error 1
make: *** [Makefile:212: core-agent-linux-vm] Error 1

Does someone know how to solve this?

sdika

unread,
Apr 21, 2018, 9:04:04 PM4/21/18
to qubes-users

I also tried and failed with similar errors. I wish there was an update for this, it isn't up to date with the documentation. When you pull system build from git and run the setup script it won't let you select one template. You have to select fedora, debian and salt to get to the next screen where you can select ubuntu.

Frank Schäckermann

unread,
May 1, 2018, 8:17:41 AM5/1/18
to qubes-users


The same error happens for Qubes OS 3.2! Thus I can't build the latest qubes deb files for my xenial template that is now running with more and more old versions of core-agent etc. :-(

I wish I knew how to fix it... I tried the sugested "dpkg-source --commit" in various places but to no avail and I don't understand the build process good enough to figure out, what EXACTLY is going wrong here.

max.mi...@gmail.com

unread,
May 5, 2018, 2:31:05 PM5/5/18
to qubes-users
tirsdag den 1. maj 2018 kl. 14.17.41 UTC+2 skrev Frank Schäckermann:
>> I wish I knew how to fix it... I tried the sugested "dpkg-source --commit" in various places but to no avail and I don't understand the build process good enough to figure out, what EXACTLY is going wrong here.

The documentation says it works with xenial, so maybe an early xenial iso version might do, and then upgrade within?

https://www.qubes-os.org/doc/templates/ubuntu/

Max
Reply all
Reply to author
Forward
0 new messages