YunoHost / package_check

Shell script which check package actions: install, remove, upgrade, backup, restore…
GNU General Public License v3.0
21 stars 26 forks source link

Fix the creation of containers on arm boards #85

Closed kay0u closed 4 years ago

kay0u commented 4 years ago

On my rpi2 (and on the rpi3 of ppr) the script fails miserably when trying to create a debian buster container with this error:

Création d'une machine debian buster minimaliste. debootstrap is /usr/sbin/debootstrap Checking cache download in /var/cache/lxc/debian/rootfs-buster-armhf ... gpg: key 7638D0442B90D010: 4 signatures not checked due to missing keys gpg: key 7638D0442B90D010: "Debian Archive Automatic Signing Key (8/jessie) ftpmaster@debian.org" not changed gpg: Total number processed: 1 gpg: unchanged: 1 Downloading debian minimal ... I: Target architecture can be executed I: Retrieving InRelease I: Checking Release signature E: Release signed by unknown key (key id DCC9EFBF77E11517) The specified keyring /var/cache/lxc/debian/archive-key.gpg may be incorrect or out of date. You can find the latest Debian release key at https://ftp-master.debian.org/keys.html Failed to download the rootfs, aborting. Failed to download 'debian base' failed to install debian lxc-create: pchecker_lxc: lxccontainer.c: create_run_template: 1617 Failed to create container from template lxc-create: pchecker_lxc: tools/lxc_create.c: main: 327 Failed to create container pchecker_lxc

To solve the problem, we download the latest template and create a debian buster container from it.