← Back to team overview

touch-packages team mailing list archive

[Bug 1508577] Re: [wily] installing juju-local on ARM64 failed. broken apt dependency

 

Dannf has a point. The kernel is built with default ARM64 defconfig with
certain vendor specific configs enabled. No default configs were
disabled.  But that said, it could very well be a kernel issue, possibly
because iptable_nat module is missing?

lsmod on the target system shows:
$ lsmod
Module                  Size  Used by
iptable_mangle          1977  0
xt_tcpudp               3830  0
bridge                 85237  0
stp                     2441  1 bridge
llc                     5410  2 stp,bridge
iptable_filter          2119  0
ip_tables              17324  2 iptable_filter,iptable_mangle
x_tables               21669  4 ip_tables,xt_tcpudp,iptable_filter,iptable_mangle

Here is what I have on a McDivitt for example.
iptable_mangle          1817  1 
xt_tcpudp               3641  6 
bridge                 99354  0 
stp                     2464  1 bridge
llc                     6298  2 stp,bridge
ip6table_filter         1772  0 
ip6_tables             18084  1 ip6table_filter
iptable_filter          1823  1 
ip_tables              19053  3 iptable_filter,iptable_mangle,iptable_nat
ebtable_nat             2019  0 
ebtables               25730  1 ebtable_nat
x_tables               26674  11 ip6table_filter,xt_CHECKSUM,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_conntrack,iptable_filter,ebtables,ipt_REJECT,iptable_mangle,ip6_tables

sudo journalctl -u lxc-net

-- Logs begin at Wed 2015-10-21 18:29:39 UTC, end at Mon 2015-10-26 15:02:48 UTC
. --
Oct 26 15:02:13 bandera systemd[1]: lxc-net.service: About to execute: /usr/lib/
aarch64-linux-gnu/lxc/lxc-net start
Oct 26 15:02:13 bandera systemd[1]: lxc-net.service: Forked /usr/lib/aarch64-lin
ux-gnu/lxc/lxc-net as 3733
Oct 26 15:02:13 bandera systemd[1]: lxc-net.service: Changed dead -> start
Oct 26 15:02:13 bandera systemd[1]: Starting LXC network bridge setup...
Oct 26 15:02:13 bandera systemd[3733]: lxc-net.service: Executing: /usr/lib/aarc
h64-linux-gnu/lxc/lxc-net start
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Child 3733 belongs to lxc-n
et.service
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Main process exited, 
code=exited, status=3/NOTIMPLEMENTED
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Changed start -> failed
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Job lxc-net.service/start f
inished, result=failed
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Unit entered failed s
tate.
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: Failed with result 'e
xit-code'.
Oct 26 15:02:16 bandera systemd[1]: lxc-net.service: cgroup is empty
Oct 26 15:02:28 bandera lxc-net[3733]: iptables v1.4.21: can't initialize iptabl
es table `nat': No chain/target/match by that name
Oct 26 15:02:28 bandera lxc-net[3733]: Perhaps iptables or your kernel needs to 
be upgraded.
Oct 26 15:02:28 bandera lxc-net[3733]: Failed to setup lxc-net.
Oct 26 15:02:28 bandera lxc-net[3733]: iptables v1.4.21: can't initialize iptabl
es table `nat': No chain/target/match by that name
Oct 26 15:02:28 bandera lxc-net[3733]: Perhaps iptables or your kernel needs to 
be upgraded.
Oct 26 15:02:28 bandera lxc-net[3733]: iptables: No chain/target/match by that n
ame.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1508577

Title:
  [wily] installing juju-local on ARM64 failed. broken apt dependency

Status in juju-core:
  Invalid
Status in lxc package in Ubuntu:
  Incomplete

Bug description:
  Installing juju-local on ARM64 fails due to broken dependency.
  running apt-get install -f does not solve this.

  Setting up lxc (1.1.4-0ubuntu1) ...
  Job for lxc-net.service failed because the control process exited with error code. See "systemctl status lxc-net.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript lxc-net, action "start" failed.
  dpkg: error processing package lxc (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of lxc-templates:
   lxc-templates depends on lxc (>= 0.8.0~rc1-4ubuntu43); however:
    Package lxc is not configured yet.

  dpkg: error processing package lxc-templates (--configure):
   dependency problems - leaving unconfigured
  Setting up lxcfs (0.10-0ubuntu2) ...
  update-alternatives: using /usr/lib/juju-1.24.6/bin/juju to provide /usr/bin/juju (juju) in auto mode
  Setting up rsyslog-gnutls (8.12.0-1ubuntu2) ...
  dpkg: dependency problems prevent configuration of juju-local:
   juju-local depends on lxc (>= 1.0.0~alpha1-0ubuntu14); however:
    Package lxc is not configured yet.
   juju-local depends on lxc-templates; however:
    Package lxc-templates is not configured yet.

  dpkg: error processing package juju-local (--configure):
   dependency problems - leaving unconfigured

  ubuntu@machine:~$ sudo apt-get install -f
  sudo: unable to resolve host bandera
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    libdw1 libelf1 libunwind8
  Use 'apt-get autoremove' to remove them.
  0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
  3 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  perl: warning: Setting locale failed.
  perl: warning: Please check that your locale settings:
   LANGUAGE = (unset),
   LC_ALL = (unset),
   LANG = "en_US.UTF-8"
      are supported and installed on your system.
  perl: warning: Falling back to the standard locale ("C").
  Setting up lxc (1.1.4-0ubuntu1) ...
  Job for lxc-net.service failed because the control process exited with error code. See "systemctl status lxc-net.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript lxc-net, action "start" failed.
  dpkg: error processing package lxc (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of lxc-templates:
   lxc-templates depends on lxc (>= 0.8.0~rc1-4ubuntu43); however:
    Package lxc is not configured yet.

  dpkg: error processing package lxc-templates (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of juju-local:
   juju-local depends on lxc (>= 1.0.0~alpha1-0ubuntu14); however:
    Package lxc is not configured yet.
   juju-local depends on lxc-templates; however:
    Package lxc-templates is not configured yet.

  dpkg: error processing package juju-local (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   lxc
   lxc-templates
   juju-local
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  ubuntu@machine:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1508577/+subscriptions