[pkg-lxc-devel] Bug#847894: lxc: powerpc jessie container and jessie-backports

Santiago santiagorr at riseup.net
Mon Dec 12 10:19:12 UTC 2016


Package: lxc
Version: 1:2.0.6-1~bpo8+1
Severity: normal

Dear Maintainer,

I am trying to create a jessie container on a powerpc machine, using
jessie-backports lxc packages, but I got this error:

% sudo -E lxc-create -n test -t debian -- -r jessie
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/debian/rootfs-jessie-ppc ...
Downloading debian minimal ...
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 75DDC3C4A499F1A18CB5F3C8CBF8D6FD518E17E1)
E: Invalid Release file, no entry for main/binary-ppc/Packages
Failed to download the rootfs, aborting.
Failed to download 'debian base'
failed to install debian
lxc-create: lxccontainer.c: create_run_template: 1290 container creation template for test failed
lxc-create: tools/lxc_create.c: main: 318 Error creating container test

The attached patch fixes this, correcting the architecture "name" in the
URL path.

lxc is now able to create the container but it fails to start. However
that's another bug.

Cheers,

  -- Santiago


-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 3.16.0-4-powerpc
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.22
ii  libapparmor1         2.9.0-3
ii  libc6                2.19-18+deb8u6
ii  libcap2              1:2.24-8
ii  liblxc1              1:2.0.6-1~bpo8+1
ii  libseccomp2          2.2.3-3~bpo8+1
ii  libselinux1          2.3-2
ii  lsb-base             4.1+Debian13+nmu1
ii  python3-lxc          1:2.0.6-1~bpo8+1
pn  python3:any          <none>

Versions of packages lxc recommends:
ii  bridge-utils  1.5-9
ii  debootstrap   1.0.67
ii  dirmngr       1.1.1-5
ii  dnsmasq-base  2.72-3+deb8u1
ii  gnupg         1.4.18-7+deb8u3
ii  iptables      1.4.21-2+b1
ii  libpam-cgfs   2.0.5-1~bpo8+1
ii  lxcfs         2.0.5-1~bpo8+1
ii  openssl       1.0.1t-1+deb8u5
ii  rsync         3.1.1-3
ii  uidmap        1:4.2-3+deb8u1

Versions of packages lxc suggests:
pn  apparmor     <none>
pn  btrfs-tools  <none>
pn  lvm2         <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-templates-lxc-debian.in-handle-ppc-hostarch-powerpc.patch
Type: text/x-diff
Size: 937 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lxc-devel/attachments/20161212/de150463/attachment.patch>


More information about the Pkg-lxc-devel mailing list