[pkg-lxc-devel] Bug#921667: Bug#921667: lxc, lava-dev: lxc fails to install along lava-dev --install-recommends

Antonio Terceiro terceiro at debian.org
Sun Feb 10 19:06:43 GMT 2019


On Sun, Feb 10, 2019 at 12:13:43AM +0100, Pierre-Elliott Bécue wrote:
> Le samedi 09 février 2019 à 22:19:13+0100, Andreas Beckmann a écrit :
> > On 2019-02-09 21:51, Pierre-Elliott Bécue wrote:
> > > I'm not sure that there is something we can do regarding lxc. Am I
> > > wrong?
> > 
> > You could try to figure out why lxc explodes.
> > Probably some package places some configuration file at some location....
> > 
> > 
> > Andreas
> > 
> > PS: I should be able to get a shell in the chroot after the failure
> > occurred, in case you want me to collect some information.
> 
> That's a good idea. This error is not clear at all to me.

I can reproduce this on a clean chroot (but not on a clean VM)

> Could you please try to run the .postinst of lxc manually with a set -x?
> The goal would be to check which part explodes.

----------------8<----------------8<----------------8<-----------------
Setting up lxc (1:3.1.0+really3.0.3-2) ...
+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/lxc.postinst configure 
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z  ]
+ exec
+ [  ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ upgrade configure 
+ [ ! -z  ]
+ [ -z  ]
+ which apparmor_parser
+ [ -e /etc/apparmor.d/lxc-containers ]
+ apparmor_parser -r -W -T /etc/apparmor.d/lxc-containers
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
dpkg: error processing package lxc (--configure):
 installed lxc package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of lxc-templates:
 lxc-templates depends on lxc (>= 1:3.0.2-1~exp+1); however:
  Package lxc is not configured yet.

dpkg: error processing package lxc-templates (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 lxc
 lxc-templates
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------8<----------------8<----------------8<-----------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20190210/69d86602/attachment.sig>


More information about the Pkg-lxc-devel mailing list