При попытке установить Debian под LXC возникают следующие ошибки:
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/debian/rootfs-bookworm-amd64 …
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 F8D2585B8783D481)
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
Не нужно городить костылей в виде ручной установки ключа в /var/cache/lxc/debian/archive-key.gpg и прочего, достаточно просто установить пакет debian-archive-keyring:
apt install debian-archive-keyring