[pkg-lxc-devel] Error when using Alpine template

john doe johndoe65534 at mail.com
Sun Feb 13 08:31:49 GMT 2022


Hello all,

While trying to install the latest-stable release of Alpine in a LXC
container, I'm getting the below error:

$ lxc-create -n test -t alpine
Obtaining an exclusive lock... done

==> Fetching and/or verifying APK keys
alpine-devel at lists.alpinelinux.org-4a6a0840.rsa.pub: OK
alpine-devel at lists.alpinelinux.org-4d07755e.rsa.pub: OK
alpine-devel at lists.alpinelinux.org-5243ef4b.rsa.pub: OK
alpine-devel at lists.alpinelinux.org-524d27bb.rsa.pub: OK
alpine-devel at lists.alpinelinux.org-5261cecb.rsa.pub: OK
alpine-devel at lists.alpinelinux.org-58199dcc.rsa.pub: OK
alpine-devel at lists.alpinelinux.org-58cbb476.rsa.pub: OK
alpine-devel at lists.alpinelinux.org-58e4f17d.rsa.pub: OK
Obtaining an exclusive lock... done

==> Installing Alpine Linux in /var/lib/lxc/test/rootfs
fetch http://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.15/main: UNTRUSTED signature
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.15/main: No
such file or directory
fetch
http://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.15/community: UNTRUSTED
signature
WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.15/community:
No such file or directory
ERROR: unable to select packages:
   alpine-base (no such package):
     required by: world[alpine-base]
lxc-create: test: lxccontainer.c: create_run_template: 1616 Failed to
create container from template
lxc-create: test: tools/lxc_create.c: main: 319 Failed to create
container test


The host is Debian Bullseye.

What should I do to solve this?


Any help is appreciated.

--
John Doe



More information about the Pkg-lxc-devel mailing list