<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>I've done this for years now & then used either xrdp or x2go to access the desktop<br></div>environment in the LXD containers.<br><br></div>But something has obviously changed as for 2 days now I've tried multiple times to get either ubuntu-desktop or ubuntu-mate desktop to install and the install always fails the same.  I cannot be sure but it looks like its all due to bluez faling but maybe I don't know how to determine root cause.<br><br><div style="margin-left:40px"><i>Errors were encountered while processing:</i><br><i> bluez</i><br><i> blueman</i><br><i> gnome-bluetooth</i><br><i> indicator-bluetooth</i><br><i> unity-control-center</i><br><i> gnome-user-share</i><br><i> pulseaudio-module-bluetooth</i><br><i> ubuntu-mate-core</i><br><i> ubuntu-mate-desktop</i><br><i> unity-control-center-signon</i><br><i>E: Sub-process /usr/bin/dpkg returned an error code (1)</i><br></div><br></div>I am using LXD v 2.0.9<br><br></div>My host is:<br><br><i>Distributor ID:    Ubuntu<br>Description:    Ubuntu 16.04.2 LTS<br>Release:    16.04<br>Codename:    xenial</i><br><br></div>The container I am creating is AMD64 Xenial.<br><br></div>The container creates ok, I then "lxc exec cn1 bash" to access it.<br></div>Then <br></div>apt update<br></div>apt upgrade<br></div>apt dist-upgrade<br></div><br></div>then install minimal ubuntu desktop (unity) <br><br># apt install --no-install-recommends ubuntu-desktop<br><br></div><div><i>I then see the above failures..</i>.<br><br></div><div>I stop the container and delete it.<br><br></div><div>I then recreate the container and try again but try to install Mate DE:<br></div><br>add-apt-repository ppa:ubuntu-mate-dev/xenial-mate -y<br><br>apt update<br><br>apt upgrade<br><br>apt install lightdm ubuntu-mate-core ubuntu-mate-desktop<br><div><br></div><div><i>I then see the above failures again...</i><br><br></div><div>Is this a change in LXD apparmor or capabilities preventing this install from completion or should I be looking at launchpad bugs for bluez failures?<br><br></div><div>Thanks for any advice/guidance.<br><br></div><div>As I said I've been using the same scripts to install this for a long time and its always worked successfully on Ubuntu 14.04 & on Ubuntu 16.04 until recently.<br><br></div><div>Brian<br><br></div><div><br><br></div><div><br><div><div><div><div><div><div><br><div><div><br></div></div></div></div></div></div></div></div></div></div>