[pkg-lxc-devel] Bug#862121: lxc: ubuntu template fails on ubuntu-keyring

Brian Minton brian at minton.name
Mon May 8 18:39:41 UTC 2017

Package: lxc
Version: 1:2.0.7-2
Severity: normal

Hash: SHA256

Dear Maintainer,

I tried to create a container with the default ubuntu template:

bminton:~# lxc-create -t ubuntu -n ubuntu

but it gets to the ubuntu-keyring package, it fails.

(Reading database ... 12622 files and directories currently installed.)
Preparing to replace ubuntu-keyring 2011.11.21 (using .../ubuntu-keyring_2011.11.21.1_all.deb) ...
Unpacking replacement ubuntu-keyring ...
Setting up ubuntu-keyring (2011.11.21.1) ...
mktemp: failed to create file via template `/tmp/user/0/tmp.XXXXXXXXXX': No such file or directory
dpkg: error processing ubuntu-keyring (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Container upgrade failed.  The container cache may be out of date,
in which case flushing the cache (see -F in the help output) may help.
lxc-create: lxccontainer.c: create_run_template: 1297 container creation template for ubuntu failed
lxc-create: tools/lxc_create.c: main: 318 Error creating container ubuntu

- -- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lxc depends on:
ii  init-system-helpers  1.48
ii  libapparmor1         2.11.0-3
ii  libc6                2.24-10
ii  libcap2              1:2.25-1
ii  libgnutls30          3.5.8-5
ii  liblxc1              1:2.0.7-2
ii  libseccomp2          2.3.1-2.1
ii  libselinux1          2.6-3+b1
ii  lsb-base             9.20161125
ii  python3-lxc          1:2.0.7-2
pn  python3:any          <none>

Versions of packages lxc recommends:
ii  bridge-utils  1.5-13
ii  debootstrap   1.0.90
ii  dirmngr       2.1.18-6
ii  dnsmasq-base  2.76-5+b1
ii  gnupg         2.1.18-6
ii  iptables      1.6.0+snapshot20161117-6
ii  libpam-cgfs   2.0.6-1
ii  lxcfs         2.0.6-1
ii  openssl       1.1.0e-2
ii  rsync         3.1.2-2
ii  uidmap        1:4.4-4

Versions of packages lxc suggests:
ii  apparmor     2.11.0-3
ii  btrfs-tools  4.9.1-1
ii  lvm2         2.02.168-2

- -- Configuration Files:
/etc/lxc/default.conf changed:
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0

- -- no debconf information



More information about the Pkg-lxc-devel mailing list