LINUX.ORG.RU

История изменений

Исправление Einstok_Fair, (текущая версия) :

выполнил команды

cd /var/cache/lxc/debian
wget -c https://ftp-master.debian.org/keys/archive-key-10.asc
gpg2 --keyring=/var/cache/lxc/debian/archive-key.gpg --no-default-keyring --import archive-key-10.asc
# gpg2 --keyring=/var/cache/lxc/debian/archive-key.gpg --list-keys
/var/cache/lxc/debian/archive-key.gpg
-------------------------------------
pub   rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
      126C0D24BD8A2942CC7DF8AC7638D0442B90D010
uid           [ unknown] Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>

pub   rsa4096 2019-04-14 [SC] [expires: 2027-04-12]
      80D15823B7FD1561F9F7BCDDDC30D7C23CBBABEE
uid           [ unknown] Debian Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>
sub   rsa4096 2019-04-14 [S] [expires: 2027-04-12]
теперь создание контейнера не работает с сообщением «I: Checking component main on http://deb.debian.org/debian... E: Couldn't find these debs: iproute»:
# lxc-create -t debian -n anotherworld
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/debian/rootfs-buster-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: Retrieving InRelease 
I: Checking Release signature
I: Valid Release signature (key id 0146DC6D4A0B2914BDED34DB648ACFD622F3D138)
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://deb.debian.org/debian...
E: Couldn't find these debs: iproute
Failed to download the rootfs, aborting.
Failed to download 'debian base'
failed to install debian
lxc-create: anotherworld: lxccontainer.c: create_run_template: 1473 container creation template for anotherworld failed
lxc-create: anotherworld: tools/lxc_create.c: main: 329 Error creating container anotherworld
UPD:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891221

Исходная версия Einstok_Fair, :

выполнил команды

cd /var/cache/lxc/debian
wget -c https://ftp-master.debian.org/keys/archive-key-10.asc
gpg2 --keyring=/var/cache/lxc/debian/archive-key.gpg --no-default-keyring --import archive-key-10.asc
# gpg2 --keyring=/var/cache/lxc/debian/archive-key.gpg --list-keys
/var/cache/lxc/debian/archive-key.gpg
-------------------------------------
pub   rsa4096 2014-11-21 [SC] [expires: 2022-11-19]
      126C0D24BD8A2942CC7DF8AC7638D0442B90D010
uid           [ unknown] Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>

pub   rsa4096 2019-04-14 [SC] [expires: 2027-04-12]
      80D15823B7FD1561F9F7BCDDDC30D7C23CBBABEE
uid           [ unknown] Debian Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>
sub   rsa4096 2019-04-14 [S] [expires: 2027-04-12]
теперь создание контейнера не работает с сообщением «I: Checking component main on http://deb.debian.org/debian... E: Couldn't find these debs: iproute»:
# lxc-create -t debian -n anotherworld
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/debian/rootfs-buster-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: Retrieving InRelease 
I: Checking Release signature
I: Valid Release signature (key id 0146DC6D4A0B2914BDED34DB648ACFD622F3D138)
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://deb.debian.org/debian...
E: Couldn't find these debs: iproute
Failed to download the rootfs, aborting.
Failed to download 'debian base'
failed to install debian
lxc-create: anotherworld: lxccontainer.c: create_run_template: 1473 container creation template for anotherworld failed
lxc-create: anotherworld: tools/lxc_create.c: main: 329 Error creating container anotherworld