Package: mmdebstrap
Version: 1.5.6-2
Severity: normal
X-Debbugs-Cc: [email protected]
When run, mmdebstrap produces this error:
sh: 1: printf: usage: printf format [arg ...]
This comes from the following line:
my $apttrusted
= `eval \$(apt-config shell v Dir::Etc::trusted/f); printf \$v`;
The apt-config invocation produces no output, so `v` doesn't exist, and
`printf $v` becomes just `printf`, which produces that error.
All the invocations of apt-config should look like the invocation from
the documentation instead:
eval "$(apt-config shell v Dir::Etc::Trusted/f)"; printf "$v"
This would make the output empty if apt-config produces no output.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64
Kernel: Linux 6.12.11-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mmdebstrap depends on:
ii apt 2.9.28
ii perl 5.40.0-8
ii python3 3.13.1-2
Versions of packages mmdebstrap recommends:
ii arch-test 0.21-1.1
ii gpg 2.2.46-1+b1
pn libdistro-info-perl <none>
ii libdpkg-perl 1.22.15
ii mount 2.40.4-3
pn uidmap <none>
Versions of packages mmdebstrap suggests:
pn apt-transport-tor <none>
ii apt-utils 2.9.28
ii bzip2 1.0.8-6
ii ca-certificates 20241223
pn debootstrap <none>
ii distro-info-data 0.63
ii dpkg-dev 1.22.15
ii e2fsprogs 1.47.2-1
pn fakechroot <none>
ii fakeroot 1.37-1
pn genext2fs <none>
ii libarchive13t64 [libarchive13] 3.7.4-1.1
ii lz4 1.10.0-3
ii lzop 1.04-2
pn ncompress <none>
pn perl-doc <none>
ii qemu-user 1:9.2.0+ds-5
ii qemu-user-static 1:9.2.0+ds-5
pn squashfs-tools-ng <none>
ii systemd 257.2-3
ii xz-utils 5.6.3-1+b1
ii zstd 1.5.6+dfsg-2
-- no debconf information