Package: debootstrap Version: 1.0.128+nmu2 I attempted to bootstrap an Ubuntu jammy system, and got an error:
$ debootstrap \ --extra-suites=jammy-security,jammy-updates \ --force-check-gpg \ --arch=amd64 \ jammy \ test-ubuntu \ http://local-apt-mirror.example.com/ubuntu I: Retrieving InRelease I: Checking Release signature I: Valid Release signature (key id F6ECB3762474EDA9D21B7022871920D1991BC93C) I: Retrieving Packages [...] I: Configuring login... I: Configuring libc-bin... I: Unpacking the base system... W: Failure trying to run: chroot "/tmp/test-ubuntu" dpkg --force-overwrite --force-confold --skip-same-version --install W: See /tmp/test-ubuntu/debootstrap/debootstrap.log for details The last part of the debootstrap.log file: [...] Unpacking systemd-sysv (249.11-0ubuntu3) ... Setting up systemd-sysv (249.11-0ubuntu3) ... dpkg: error: --install needs at least one package archive file argument Type dpkg --help for help about installing and deinstalling packages [*]; Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' ! If I remove the --extra-suites option, the bootstrap completes successfully. It appears that the relevant portion of the script is not guarding against the possibility of an empty package list. --Daniel -- Daniel Richard G. || sk...@iskunk.org My ASCII-art .sig got a bad case of Times New Roman.