[lxc-users] can no longer install desktop environment into lxd container

brian mullan bmullan.mail at gmail.com
Sat May 13 17:12:00 UTC 2017


solved this... upgraded to lxd 2.13 and DE now install ok.

sorry for the noise.

Brian


On Sat, May 13, 2017 at 12:30 PM, brian mullan <bmullan.mail at gmail.com>
wrote:

> I've done this for years now & then used either xrdp or x2go to access the
> desktop
> 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:*
> * bluez*
> * blueman*
> * gnome-bluetooth*
> * indicator-bluetooth*
> * unity-control-center*
> * gnome-user-share*
> * pulseaudio-module-bluetooth*
> * ubuntu-mate-core*
> * ubuntu-mate-desktop*
> * unity-control-center-signon*
> *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:
> 16.04Codename:    xenial*
>
> The container I am creating is AMD64 Xenial.
>
> The container creates ok, I then "lxc exec cn1 bash" to access it.
> Then
> apt update
> apt upgrade
> apt dist-upgrade
>
> 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 update
>
> apt upgrade
>
> 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
> recently.
>
> Brian
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170513/01d60377/attachment.html>


More information about the lxc-users mailing list