Package: debci Version: 3.2 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
I tried to do this: debci setup -s focal and it fails due to $ sudo debci setup -s focal [..] I: Running command: debootstrap --verbose --components=main,universe --arch=amd64 --include=eatmydata,language-pack-en focal /var/cache/lxc/focal/partial-amd64 http://deb.debian.org/debian [..] E: Failed getting release file http://deb.debian.org/debian/dists/focal/Release lxc-create: autopkgtest-focal-amd64: lxccontainer.c: create_run_template: 1621 Failed to create container from template [..] Please note that deboostrap is called with the Debian archive URL. After digging into the issue the problem is that /usr/share/debci/backends/lxc/create-testbed runs /usr/share/debci/lib/environment.sh and this exports MIRROR to the default value pointing to Debian. This value never gets overwritten independent of the actual distribution targetted. lxc-create seems to honor this environment variable and thus sets the mirror to the Debian repository URL, although it would use the correct URL otherwise. Pleaes consider these solutions: - - set MIRROR to the correct value after determining the mirror URL - - unset MIRROR for Debian and Ubuntu (I guess lxc-create is able to handle them; not sure about Kali Linux though) Regards, Daniel - -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.14.0-1-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debci depends on: ii adduser 3.118 ii amqp-tools 0.10.0-1 ii curl 7.74.0-1.3+b1 ii dctrl-tools 2.24-3+b1 ii debian-archive-keyring 2021.1.1 ii debootstrap 1.0.123 ii devscripts 2.21.4 ii distro-info 1.0 ii fonts-font-awesome 5.0.10+really4.7.0~dfsg-4.1 ii jq 1.6-2.1 ii libjs-bootstrap 3.4.1+dfsg-2 ii libjs-jquery 3.5.1+dfsg+~3.5.5-7 ii libjs-jquery-flot 4.2.1+dfsg-5 ii moreutils 0.65-1 ii parallel 20210822+ds-2 ii patchutils 0.4.2-1 ii retry 1.0.4-3 ii rsync 3.2.3-8 ii ruby 1:2.7.5 ii ruby-activerecord 2:6.0.3.7+dfsg-2 ii ruby-bunny 2.14.4-4 ii ruby-erubi 1.9.0-1 ii ruby-kaminari-activerecord 1.2.1-1 ii ruby-omniauth-gitlab 1.0.2-1 ii ruby-pg 1.2.3-1+b1 ii ruby-sinatra 2.0.8.1-2 ii ruby-sinatra-contrib 2.0.8.1-2 ii ruby-sqlite3 1.4.2-3 ii ruby-thor 1.0.1-1 ii sudo 1.9.5p2-3 Versions of packages debci recommends: ii systemd-timesyncd [time-daemon] 247.9-4 Versions of packages debci suggests: pn apt-cacher-ng <none> ii auto-apt-proxy 13.4 - -- Configuration Files: /etc/sudoers.d/debci [Errno 13] Keine Berechtigung: '/etc/sudoers.d/debci' - -- no debconf information - -- debsums errors found: debsums: changed file /usr/share/debci/backends/lxc/create-testbed (from debci package) -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmFgTSYACgkQS80FZ8KW 0F2lKxAAilqzF07uioUuNNqHjIzmw1B7Wa3Acbtveu5W6jzRKTEWIpG0z4befZMX 1ZB7hoJs5XctTeDMpSknY5KCQRbmcAYC4rCamuABxML2lsHtKJGaMpWXndv6wPEO Ec2NOcuJHf7rUCSrMl4SWFqr6uO05JCWI2ypu5WovDZsFE1qpbEdxrHV539m5H0h TxTl8pw2PudhSIXba+4UlhgPRYlSexOQXf7j9nSkZKFLp9ExNO+3OVK4n1Dqjirp DkNMXK04OUF3MZ0fMQJqL5EAG1AtNUqphqjc0ZyVhtYZXNGA+YBMFhp5t8yHIFX0 T1dF8hXi5rPxbpFOORONqZ13f9MXEpu2b1AehvNzco/WmCitmlltNausPasLB9is rwgefPcxe8KZsXn/Ci10FdPePD8t7rdIQO8P51z5KLcyw3z3WM4JUUQ0A3wciLUE WQ6+YUWds9s04rTvNWafWrY5fkLiv1ni7TNJ0cACq/0giCNfa0XPEUJbMn/g9fdZ LysypizGTPx/z1Y4FnM/4GL97TvrFMaD7iz+dgUjr0IwxPBl27aE2TlyV6P0rWNJ b5fzHHxfcBlBWzOeBg0UyYUDCfS4KWNJY8ByT9jcw1hB6qhh+A6hEiPbMw/klke1 89XvdebirTUkpv5/Wq9SbmxP/Y+zxw9Z6C5wPiJ9I/GtlDNRPzI= =Tfjh -----END PGP SIGNATURE-----