Package: mmdebstrap Version: 0.7.1-2 Severity: normal Dear Maintainer,
Backgroud: I want to build a Debian Buster SD card image booting Raspberry Pi 4B. To do this, linux-image-arm64 in Buster is too old and cannot be used. Some packages have to be pulled from buster-backports and bullseye, as done at https://raspi.debian.net/daily/raspi_4.yaml So I give --include=linux-image-arm64/buster-backports,raspi-firmware/bullseye,firmware-brcm80211/buster-backports,wireless-regdb/buster-backports With --variant=standard, I started mmdebstrap as follows: mmdebstrap '--aptopt=APT::Default-Release "buster"' \\ --architectures=arm64 --variant=standard \\ --components="main contrib non-free" \\ --include=linux-image-arm64/buster-backports,raspi-firmware/bullseye,firmware-brcm80211/buster-backports,wireless-regdb/buster-backports \\ buster /tmp/test - <<EOF deb http://deb.debian.org/debian/ buster main non-free contrib deb http://deb.debian.org/debian/ buster-backports main non-free contrib deb http://deb.debian.org/debian/ bullseye main contrib non-free EOF Then I get the following error. It seems that mmdebstrap tries to install all packages in Buster and Bullseye with Priority == standard. It seems a bug, because "buster" is given as Suite to mmdebstrap. I: automatically chosen mode: root I: arm64 cannot be executed, falling back to qemu-user I: Reading sources.list from standard input... I: automatically chosen format: directory I: running apt-get update... done I: downloading packages with apt... done I: extracting archives... done I: installing packages... done I: downloading apt... done I: installing apt... done I: installing remaining packages inside the chroot... done Reading package lists... Building dependency tree... adduser is already the newest version (3.118). apt is already the newest version (1.8.2.1). debconf is already the newest version (1.5.71). debian-archive-keyring is already the newest version (2019.1). gpgv is already the newest version (2.2.12-1+deb10u1). mawk is already the newest version (1.3.3-17+b3). libpam-modules is already the newest version (1.3.1-5). libpam-modules-bin is already the newest version (1.3.1-5). libpam-runtime is already the newest version (1.3.1-5). passwd is already the newest version (1:4.5-1.1). fdisk is already the newest version (2.33.1-0.1). Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: perl-modules-5.30 : Depends: perl-base (>= 5.30.3-1) but 5.28.1-6+deb10u1 is to be installed Breaks: libarchive-tar-perl (< 2.32) Breaks: libexperimental-perl (< 0.020) Breaks: libextutils-cbuilder-perl (< 0.280231) Breaks: libextutils-parsexs-perl (< 3.400000) Breaks: libfile-spec-perl (< 3.7800) Breaks: libhttp-tiny-perl (< 0.076) Breaks: libjson-pp-perl (< 4.02000) Breaks: libmath-bigint-perl (< 1.999816) Breaks: libmodule-corelist-perl (< 5.20200601.30) Breaks: libmodule-load-perl (< 0.34) Breaks: libmodule-metadata-perl (< 1.000036) Breaks: libnet-ping-perl (< 2.71) Breaks: libparent-perl (< 0.237) Breaks: libtest-simple-perl (< 1.302162) Breaks: libtest-tester-perl (< 1.302162) Breaks: libtest-use-ok-perl (< 1.302162) Breaks: libthread-queue-perl (< 3.13) Breaks: libtime-local-perl (< 1.2800) Breaks: libunicode-collate-perl (< 1.27) Breaks: libversion-perl (< 1:0.9924) Breaks: perl (< 5.30.3~) but 5.28.1-6+deb10u1 is to be installed Breaks: podlators-perl (< 4.11) E: Unable to correct problems, you have held broken packages. E: run_chroot failed: E: env --unset=APT_CONFIG --unset=TMPDIR /usr/sbin/chroot /tmp/test env --unset=APT_CONFIG --unset=TMPDIR apt-get --yes install -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false linux-image-arm64/buster-backports raspi-firmware/bullseye firmware-brcm80211/buster-backports wireless-regdb/buster-backports adduser apt apt-utils apt-listchanges bash-completion bind9-host bsdmainutils bzip2 cpio cron dbus debconf debconf-i18n debian-archive-keyring debian-faq dmidecode doc-debian e2fsprogs file gdbm-l10n gettext-base libc-l10n locales gpgv groff-base hdparm ifupdown init iproute2 iptables iputils-ping isc-dhcp-client isc-dhcp-common kmod krb5-locales less liblockfile-bin logrotate lsof man-db manpages mawk mime-support nano ncurses-term netbase netcat-traditional telnet whiptail openssh-client libpam-modules libpam-modules-bin libpam-runtime pciutils perl perl-modules-5.28 procps python python-minimal python2.7 readline-common python3-reportbug reportbug rsyslog wamerican sensible-utils passwd libnss-systemd libpam-systemd systemd systemd-sysv udev tasksel tasksel-data traceroute tzdata ucf fdisk mount vim-common vim-tiny wget xz-utils bind9-dnsutils bind9-host bind9-libs e2fsprogs gpgv iproute2 iptables less manpages netbase libpam-systemd systemd systemd-sysv udev adduser apt apt-utils apt-listchanges bash-completion bind9-dnsutils bind9-host bind9-libs bsdmainutils bzip2 cpio cron dbus debconf debconf-i18n debian-archive-keyring debian-faq dmidecode doc-debian e2fsprogs file gcc-10-base gcc-9-base gettext-base libc-l10n locales gpgv groff-base ifupdown init iproute2 iptables iputils-ping isc-dhcp-client isc-dhcp-common kmod krb5-locales less liblockfile-bin logrotate lsof man-db manpages mawk mime-support nano ncurses-term netbase netcat-traditional telnet whiptail openssh-client libpam-modules libpam-modules-bin libpam-runtime pciutils perl perl-modules-5.30 procps python2.7 libreadline8 readline-common python3-reportbug reportbug rsyslog wamerican sensible-utils passwd libnss-systemd libpam-systemd systemd systemd-sysv udev tasksel-data traceroute tzdata ucf fdisk mount vim-common vim-tiny wget xz-utils failed W: listening on child socket failed: Best regards, Ryutaroh Matsumoto -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.8.0-2-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 mmdebstrap depends on: ii apt 2.1.10 ii perl 5.30.3-4 ii python3 3.8.2-3 Versions of packages mmdebstrap recommends: ii arch-test 0.16-2 pn fakechroot <none> pn fakeroot <none> ii gpg 2.2.20-1 ii mount 2.36-3+b1 ii uidmap 1:4.8.1-1 Versions of packages mmdebstrap suggests: ii apt [apt-transport-https] 2.1.10 pn apt-transport-tor <none> ii binfmt-support 2.2.1-1 ii ca-certificates 20200601 ii debootstrap 1.0.123 ii distro-info-data 0.44 ii dpkg-dev 1.20.5 pn perl-doc <none> pn proot <none> pn qemu-user <none> ii qemu-user-static 1:5.1+dfsg-4 pn squashfs-tools-ng <none> -- no debconf information