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
>From 219e34a35d8ae493502b98ac779e12ede261b4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Ruano=20Rinc=C3=B3n?= <[email protected]> Date: Mon, 12 Dec 2016 11:12:26 +0100 Subject: [PATCH 2/2] templates/lxc-debian.in: handle ppc hostarch -> powerpc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Santiago Ruano Rincón <[email protected]> --- templates/lxc-debian.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in index 564241c..8911e89 100644 --- a/templates/lxc-debian.in +++ b/templates/lxc-debian.in @@ -549,6 +549,8 @@ elif [ "$arch" = "x86_64" ]; then arch="amd64" elif [ "$arch" = "armv7l" ]; then arch="armhf" +elif [ "$arch" = "ppc" ]; then + arch="powerpc" elif [ "$arch" = "ppc64le" ]; then arch="ppc64el" elif [ "$arch" = "mips" -a "$littleendian" = "yes" ]; then -- 2.11.0

