#1152781 Error: too many arguments; unexpected “ "description=autopkgtest Debian forky amd64" type=container”

#1152781#5
Date:
2026-11-01 15:27:06 UTC
From:
To:
Dear Maintainer,

I follow the example command in autopkgtest-build-incus(1) manpage:

  EXAMPLE
     Build  a  local  autopkgtest container image for Debian forky amd64, using
     Incus, and based on the stock Debian image from the  public  images.linux‐
     containers.org remote:

     $ autopkgtest-build-incus images:debian/forky/amd64

and I get:
$ autopkgtest-build-incus images:debian/forky/amd64
[...]
Setting up python3-minimal (3.14.7-3) ...
Processing triggers for systemd (262-1) ...
Instance published with fingerprint: 0ec2927851377e89fa85203811bec0d6a3f753af4b12e1d1c161b93e35490f07
Error: too many arguments; unexpected “ "description=autopkgtest Debian forky amd64" type=container”
Removing previous image Usage:
Usage: incus image delete [<remote>:]<image>...
                          ┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅

Error: not enough arguments; expected a value for “<image>”
ERROR:autopkgtest-build-lxd:Command '['/usr/share/autopkgtest/lib/build-lxd.sh', '--incus', 'images:debian/forky/amd64']' returned non-zero exit status 1.


The full logs command output:
$ autopkgtest-build-incus images:debian/forky/amd64
Creating autopkgtest-prepare-ddM
Created symlink '/etc/systemd/system/serial-getty@getty.service' → '/dev/null'.
Issuing reboot (current boot id: 28d57e50-94d0-4855-bbef-0858834f3043)
Reboot successful (current boot id: e070f067-43eb-41af-a6a8-92d1cf48caf9)
Instance finished booting. Distribution Debian, release forky
umount: /var/snap/lxd/common/var/lib/lxcfs: no mount point specified.
Running setup script /usr/share/autopkgtest/setup-commands/setup-testbed...
sh: Attempting to set up Debian/Ubuntu apt sources automatically
sh: Distribution assumed to resemble Debian
network config already present, skipping network config
Get:1 http://deb.debian.org/debian forky InRelease [151 kB]
Get:2 http://security.debian.org/debian-security forky-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian forky/contrib Sources [48.4 kB]
Get:4 http://deb.debian.org/debian forky/contrib amd64 Packages.diff/Index [63.3 kB]
Get:5 http://deb.debian.org/debian forky/main amd64 Packages.diff/Index [63.6 kB]
Get:6 http://deb.debian.org/debian forky/contrib amd64 Packages T-2026-11-01-0801.49-F-2026-11-01-0201.19.pdiff [784 B]
Get:6 http://deb.debian.org/debian forky/contrib amd64 Packages T-2026-11-01-0801.49-F-2026-11-01-0201.19.pdiff [784 B]
Get:7 http://deb.debian.org/debian forky/main amd64 Packages T-2026-11-01-0801.49-F-2026-10-29-0803.19.pdiff [223 kB]
Get:7 http://deb.debian.org/debian forky/main amd64 Packages T-2026-11-01-0801.49-F-2026-10-29-0803.19.pdiff [223 kB]
Get:8 http://deb.debian.org/debian forky/non-free Sources [73.5 kB]
Get:9 http://deb.debian.org/debian forky/main Sources [11.4 MB]
Get:10 http://deb.debian.org/debian forky/non-free-firmware Sources [7984 B]
Get:11 http://deb.debian.org/debian forky/non-free amd64 Packages [85.1 kB]
Get:12 http://deb.debian.org/debian forky/non-free-firmware amd64 Packages [11.3 kB]
Fetched 12.2 MB in 2s (7860 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
The following additional packages will be installed:
  libeatmydata1
The following NEW packages will be installed:
  eatmydata libeatmydata1
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 14.6 kB of archives.
After this operation, 57.3 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian forky/main amd64 libeatmydata1 amd64 131-2+b2 [7112 B]
Get:2 http://deb.debian.org/debian forky/main amd64 eatmydata all 131-2 [7532 B]
Fetched 14.6 kB in 0s (232 kB/s)
Selecting previously unselected package libeatmydata1:amd64.
(Reading database ... 13329 files and directories currently installed.)
Preparing to unpack .../libeatmydata1_131-2+b2_amd64.deb ...
Unpacking libeatmydata1:amd64 (131-2+b2) ...
Selecting previously unselected package eatmydata.
Preparing to unpack .../eatmydata_131-2_all.deb ...
Unpacking eatmydata (131-2) ...
Setting up libeatmydata1:amd64 (131-2+b2) ...
Setting up eatmydata (131-2) ...
Processing triggers for libc-bin (2.43-7) ...
Reading package lists...
Building dependency tree...
Reading state information...
dbus is already the newest version (1.16.2-8).
Solving dependencies...
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu bzip2 libbinutils
  libctf-nobfd0 libctf0 libdpkg-perl libgdbm-compat4t64 libgdbm6t64
  libgprofng0 libjansson4 libperl5.42 libsframe3 make patch perl
  perl-modules-5.42 xz-utils
Suggested packages:
  binutils-doc gprofng-gui binutils-gold bzip2-doc debian-keyring
  debian-tag2upload-keyring sq | sqop | rsop | gosop | hopenpgp-tools
  | pgpainless-cli | gpg-sq | gnupg gcc | c-compiler sensible-utils git bzr
  gdbm-l10n make-doc ed diffutils-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl libtap-harness-archive-perl
Recommended packages:
  build-essential gcc | c-compiler fakeroot sq | sqop | rsop | gosop
  | hopenpgp-tools | pgpainless-cli | gpg-sq | gnupg libalgorithm-merge-perl
  libfile-fcntllock-perl liblocale-gettext-perl
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu bzip2 dpkg-dev
  libbinutils libctf-nobfd0 libctf0 libdpkg-perl libgdbm-compat4t64
  libgdbm6t64 libgprofng0 libjansson4 libperl5.42 libsframe3 make patch perl
  perl-modules-5.42 xz-utils
0 upgraded, 20 newly installed, 0 to remove and 1 not upgraded.
Need to get 16.9 MB of archives.
After this operation, 89.0 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian forky/main amd64 bzip2 amd64 1.0.8-6+b2 [40.4 kB]
Get:2 http://deb.debian.org/debian forky/main amd64 perl-modules-5.42 all 5.42.3-1 [3213 kB]
Get:3 http://deb.debian.org/debian forky/main amd64 libgdbm6t64 amd64 1.26-1+b2 [77.7 kB]
Get:4 http://deb.debian.org/debian forky/main amd64 libgdbm-compat4t64 amd64 1.26-1+b2 [52.0 kB]
Get:5 http://deb.debian.org/debian forky/main amd64 libperl5.42 amd64 5.42.3-1 [4272 kB]
Get:6 http://deb.debian.org/debian forky/main amd64 perl amd64 5.42.3-1 [266 kB]
Get:7 http://deb.debian.org/debian forky/main amd64 xz-utils amd64 5.8.4-1 [761 kB]
Get:8 http://deb.debian.org/debian forky/main amd64 libsframe3 amd64 2.47.50.20261021-1 [86.3 kB]
Get:9 http://deb.debian.org/debian forky/main amd64 binutils-common amd64 2.47.50.20261021-1 [2687 kB]
Get:10 http://deb.debian.org/debian forky/main amd64 libbinutils amd64 2.47.50.20261021-1 [566 kB]
Get:11 http://deb.debian.org/debian forky/main amd64 libgprofng0 amd64 2.47.50.20261021-1 [848 kB]
Get:12 http://deb.debian.org/debian forky/main amd64 libctf-nobfd0 amd64 2.47.50.20261021-1 [166 kB]
Get:13 http://deb.debian.org/debian forky/main amd64 libctf0 amd64 2.47.50.20261021-1 [97.6 kB]
Get:14 http://deb.debian.org/debian forky/main amd64 libjansson4 amd64 2.15.1-1 [65.6 kB]
Get:15 http://deb.debian.org/debian forky/main amd64 binutils-x86-64-linux-gnu amd64 2.47.50.20261021-1 [1143 kB]
Get:16 http://deb.debian.org/debian forky/main amd64 binutils amd64 2.47.50.20261021-1 [288 kB]
Get:17 http://deb.debian.org/debian forky/main amd64 libdpkg-perl all 1.23.11 [650 kB]
Get:18 http://deb.debian.org/debian forky/main amd64 patch amd64 2.8.1-1 [137 kB]
Get:19 http://deb.debian.org/debian forky/main amd64 make amd64 4.4.1-3 [463 kB]
Get:20 http://deb.debian.org/debian forky/main amd64 dpkg-dev all 1.23.11 [1005 kB]
Fetched 16.9 MB in 0s (41.3 MB/s)
Selecting previously unselected package bzip2.
(Reading database ... 13342 files and directories currently installed.)
Preparing to unpack .../00-bzip2_1.0.8-6+b2_amd64.deb ...
Unpacking bzip2 (1.0.8-6+b2) ...
Selecting previously unselected package perl-modules-5.42.
Preparing to unpack .../01-perl-modules-5.42_5.42.3-1_all.deb ...
Unpacking perl-modules-5.42 (5.42.3-1) ...
Selecting previously unselected package libgdbm6t64:amd64.
Preparing to unpack .../02-libgdbm6t64_1.26-1+b2_amd64.deb ...
Unpacking libgdbm6t64:amd64 (1.26-1+b2) ...
Selecting previously unselected package libgdbm-compat4t64:amd64.
Preparing to unpack .../03-libgdbm-compat4t64_1.26-1+b2_amd64.deb ...
Unpacking libgdbm-compat4t64:amd64 (1.26-1+b2) ...
Selecting previously unselected package libperl5.42:amd64.
Preparing to unpack .../04-libperl5.42_5.42.3-1_amd64.deb ...
Unpacking libperl5.42:amd64 (5.42.3-1) ...
Selecting previously unselected package perl.
Preparing to unpack .../05-perl_5.42.3-1_amd64.deb ...
Unpacking perl (5.42.3-1) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../06-xz-utils_5.8.4-1_amd64.deb ...
Unpacking xz-utils (5.8.4-1) ...
Selecting previously unselected package libsframe3:amd64.
Preparing to unpack .../07-libsframe3_2.47.50.20261021-1_amd64.deb ...
Unpacking libsframe3:amd64 (2.47.50.20261021-1) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../08-binutils-common_2.47.50.20261021-1_amd64.deb ...
Unpacking binutils-common:amd64 (2.47.50.20261021-1) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../09-libbinutils_2.47.50.20261021-1_amd64.deb ...
Unpacking libbinutils:amd64 (2.47.50.20261021-1) ...
Selecting previously unselected package libgprofng0:amd64.
Preparing to unpack .../10-libgprofng0_2.47.50.20261021-1_amd64.deb ...
Unpacking libgprofng0:amd64 (2.47.50.20261021-1) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../11-libctf-nobfd0_2.47.50.20261021-1_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.47.50.20261021-1) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../12-libctf0_2.47.50.20261021-1_amd64.deb ...
Unpacking libctf0:amd64 (2.47.50.20261021-1) ...
Selecting previously unselected package libjansson4:amd64.
Preparing to unpack .../13-libjansson4_2.15.1-1_amd64.deb ...
Unpacking libjansson4:amd64 (2.15.1-1) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../14-binutils-x86-64-linux-gnu_2.47.50.20261021-1_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.47.50.20261021-1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../15-binutils_2.47.50.20261021-1_amd64.deb ...
Unpacking binutils (2.47.50.20261021-1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../16-libdpkg-perl_1.23.11_all.deb ...
Unpacking libdpkg-perl (1.23.11) ...
Selecting previously unselected package patch.
Preparing to unpack .../17-patch_2.8.1-1_amd64.deb ...
Unpacking patch (2.8.1-1) ...
Selecting previously unselected package make.
Preparing to unpack .../18-make_4.4.1-3_amd64.deb ...
Unpacking make (4.4.1-3) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../19-dpkg-dev_1.23.11_all.deb ...
Unpacking dpkg-dev (1.23.11) ...
Replacing files in old package bash-completion (1:2.16.0-8) ...
Setting up libgdbm6t64:amd64 (1.26-1+b2) ...
Setting up libgdbm-compat4t64:amd64 (1.26-1+b2) ...
Setting up binutils-common:amd64 (2.47.50.20261021-1) ...
Setting up libsframe3:amd64 (2.47.50.20261021-1) ...
Setting up libctf-nobfd0:amd64 (2.47.50.20261021-1) ...
Setting up bzip2 (1.0.8-6+b2) ...
Setting up libjansson4:amd64 (2.15.1-1) ...
Setting up make (4.4.1-3) ...
Setting up xz-utils (5.8.4-1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up patch (2.8.1-1) ...
Setting up libbinutils:amd64 (2.47.50.20261021-1) ...
Setting up perl-modules-5.42 (5.42.3-1) ...
Setting up libctf0:amd64 (2.47.50.20261021-1) ...
Setting up libperl5.42:amd64 (5.42.3-1) ...
Setting up perl (5.42.3-1) ...
Setting up libgprofng0:amd64 (2.47.50.20261021-1) ...
Setting up libdpkg-perl (1.23.11) ...
Setting up binutils-x86-64-linux-gnu (2.47.50.20261021-1) ...
Setting up binutils (2.47.50.20261021-1) ...
Setting up dpkg-dev (1.23.11) ...
Processing triggers for libc-bin (2.43-7) ...
apt was already set to manually installed.
iproute2 was already set to manually installed.
sudo was already set to manually installed.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'manpages' is not installed, so not removed
Package 'git' is not installed, so not removed
Solving dependencies...
The following packages will be REMOVED:
  libatomic1* libduktape207* libffi8* libglib2.0-0t64* libglib2.0-data*
  libpolkit-agent-1-0* libpolkit-gobject-1-0* libsodium26* libxml2-16* pkexec*
  polkitd* sgml-base* shared-mime-info* vim* vim-common* vim-runtime*
  xdg-user-dirs* xml-core* xxd*
0 upgraded, 0 newly installed, 19 to remove and 1 not upgraded.
After this operation, 71.6 MB disk space will be freed.
(Reading database ... 16674 files and directories currently installed.)
Removing shared-mime-info (2.4-5+b3) ...
Removing pkexec (128-1) ...
Removing polkitd (128-1) ...
/usr/sbin/policy-rc.d returned 101, not running 'stop polkit-agent-helper.socket'
/usr/sbin/policy-rc.d returned 101, not running 'stop polkit.service'
Removing libduktape207:amd64 (2.7.0-2+b3) ...
Removing libglib2.0-data (2.90.1-2) ...
Removing libpolkit-agent-1-0:amd64 (128-1) ...
Removing libpolkit-gobject-1-0:amd64 (128-1) ...
Removing vim (2:9.2.0858-1) ...
Removing libsodium26:amd64 (1.0.22-2) ...
Removing libxml2-16:amd64 (2.15.4+dfsg-1+b1) ...
Removing xml-core (0.21) ...
Removing sgml-base (1.31+nmu1) ...
Removing vim-common (2:9.2.0858-1) ...
Removing vim-runtime (2:9.2.0858-1) ...
Removing 'diversion of /usr/share/vim/vim92/doc/help.txt to /usr/share/vim/vim92/doc/help.txt.vim-tiny by vim-runtime'
Removing 'diversion of /usr/share/vim/vim92/doc/tags to /usr/share/vim/vim92/doc/tags.vim-tiny by vim-runtime'
Removing xdg-user-dirs (0.20-1) ...
Removing xxd (2:9.2.0858-1) ...
Removing libglib2.0-0t64:amd64 (2.90.1-2) ...
Removing libatomic1:amd64 (16.2.0-3) ...
Removing libffi8:amd64 (3.8.0-2) ...
Processing triggers for dbus (1.16.2-8) ...
Processing triggers for libc-bin (2.43-7) ...
(Reading database ... 13547 files and directories currently installed.)
Purging configuration files for xdg-user-dirs (0.20-1) ...
Purging configuration files for libglib2.0-0t64:amd64 (2.90.1-2) ...
Purging configuration files for vim-common (2:9.2.0858-1) ...
Purging configuration files for shared-mime-info (2.4-5+b3) ...
Purging configuration files for xml-core (0.21) ...
dpkg: warning: while removing xml-core, directory '/etc/xml' not empty so not removed
dpkg: warning: while removing xml-core, directory '/etc/sgml' not empty so not removed
Purging configuration files for sgml-base (1.31+nmu1) ...
Purging configuration files for vim-runtime (2:9.2.0858-1) ...
Purging configuration files for polkitd (128-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  tzdata
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 263 kB of archives.
After this operation, 2048 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian forky/main amd64 tzdata all 2026f-1 [263 kB]
Preconfiguring packages ...
Fetched 263 kB in 0s (3374 kB/s)
(Reading database ... 13537 files and directories currently installed.)
Preparing to unpack .../tzdata_2026f-1_all.deb ...
Unpacking tzdata (2026f-1) over (2026e-1) ...
Setting up tzdata (2026f-1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Sun Nov  1 14:07:52 UTC 2026.
Universal Time is now:  Sun Nov  1 14:07:52 UTC 2026.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
The following additional packages will be installed:
  libpython3.14-minimal python3.14-minimal
Suggested packages:
  binfmt-support
Recommended packages:
  libpython3.14-stdlib python3.14
The following NEW packages will be installed:
  libpython3.14-minimal python3-minimal python3.14-minimal
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3642 kB of archives.
After this operation, 14.3 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian forky/main amd64 libpython3.14-minimal amd64 3.14.8-1 [902 kB]
Get:2 http://deb.debian.org/debian forky/main amd64 python3.14-minimal amd64 3.14.8-1 [2715 kB]
Get:3 http://deb.debian.org/debian forky/main amd64 python3-minimal amd64 3.14.7-3 [25.3 kB]
Fetched 3642 kB in 0s (24.2 MB/s)
Selecting previously unselected package libpython3.14-minimal:amd64.
(Reading database ... 13537 files and directories currently installed.)
Preparing to unpack .../libpython3.14-minimal_3.14.8-1_amd64.deb ...
Unpacking libpython3.14-minimal:amd64 (3.14.8-1) ...
Selecting previously unselected package python3.14-minimal.
Preparing to unpack .../python3.14-minimal_3.14.8-1_amd64.deb ...
Unpacking python3.14-minimal (3.14.8-1) ...
Setting up libpython3.14-minimal:amd64 (3.14.8-1) ...
Setting up python3.14-minimal (3.14.8-1) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 13883 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.14.7-3_amd64.deb ...
Unpacking python3-minimal (3.14.7-3) ...
Setting up python3-minimal (3.14.7-3) ...
Processing triggers for systemd (262-1) ...
Instance published with fingerprint: 0ec2927851377e89fa85203811bec0d6a3f753af4b12e1d1c161b93e35490f07
Error: too many arguments; unexpected “ "description=autopkgtest Debian forky amd64" type=container”
Removing previous image Usage:
Usage: incus image delete [<remote>:]<image>...
                          ┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅

Error: not enough arguments; expected a value for “<image>”
ERROR:autopkgtest-build-lxd:Command '['/usr/share/autopkgtest/lib/build-lxd.sh', '--incus', 'images:debian/forky/amd64']' returned non-zero exit status 1.



From incus I have:
$ incus list
┌──────┬───────┬──────┬──────┬──────┬───────────┐
│ NAME │ STATE │ IPV4 │ IPV6 │ TYPE │ SNAPSHOTS │
└──────┴───────┴──────┴──────┴──────┴───────────┘


I also tried another example command from the manpage and I get a similar error:

$ RELEASE=sid autopkgtest-build-incus --vm images:debian/forky/amd64
[...]
Processing triggers for libselinux1:amd64 (3.11-2.1+b1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Instance published with fingerprint: 12bac266953e360268c8146171aba31d9b680786a6e4b7b5d94255bed8fddbae
Error: too many arguments; unexpected “ "description=autopkgtest Debian sid amd64" type=virtual-machine”
Removing previous image Usage:
Usage: incus image delete [<remote>:]<image>...
                          ┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅

Error: not enough arguments; expected a value for “<image>”
ERROR:autopkgtest-build-lxd:Command '['/usr/share/autopkgtest/lib/build-lxd.sh', '--incus', '--vm', 'images:debian/forky/amd64']' returned non-zero exit status 1.