[lxc-users] can no longer install desktop environment into lxd container
bmullan.mail at gmail.com
Sat May 13 16:30:50 UTC 2017
I've done this for years now & then used either xrdp or x2go to access the
environment in the LXD containers.
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.
*Errors were encountered while processing:*
*E: Sub-process /usr/bin/dpkg returned an error code (1)*
I am using LXD v 2.0.9
My host is:
*Distributor ID: UbuntuDescription: Ubuntu 16.04.2 LTSRelease:
The container I am creating is AMD64 Xenial.
The container creates ok, I then "lxc exec cn1 bash" to access it.
then install minimal ubuntu desktop (unity)
# apt install --no-install-recommends ubuntu-desktop
*I then see the above failures..*.
I stop the container and delete it.
I then recreate the container and try again but try to install Mate DE:
add-apt-repository ppa:ubuntu-mate-dev/xenial-mate -y
apt install lightdm ubuntu-mate-core ubuntu-mate-desktop
*I then see the above failures again...*
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?
Thanks for any advice/guidance.
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lxc-users