Control: reassign -1 base-installer 1.208 Control: retitle -1 base-installer: pkgdetails.c: GETDEPS: remove multi-arch qualifier from dependencies
On Wed, 2022-09-21 at 16:47 +0200, Thomas Deutschmann wrote: > I was trying to install Debian bookworm using > firmware-testing-amd64-netinst.iso from 2022-09-21 14:22 > (https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including- > firmware/daily-builds/sid_d-i/current/amd64/iso-cd/). > > However, debootstrap failed: [...] > > Sep 21 14:20:30 debootstrap: Can't locate autodie.pm in @INC (you > > may need to install the autodie module) (@INC contains: /etc/perl > > /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 > > /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 > > /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base > > /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 > > /usr/local/lib/site_perl) at /usr/lib/usrmerge/convert-etc-shells > > line 13. There are two bugs here: 1. We don't want to install usrmerge in this case; there is a merge request for debootstrap pending[1]. 2. debootstrap fails to resolve the dependency of usrmerge correctly. perl and perl-modules-* is not extracted, so autodie.pm is missing. I think this is a bug in base-installer's pkgdetails.c: running +--- | /usr/lib/debootstrap/pkgdetails GETDEPS ... usrmerge +--- in d-i gives "perl:any \n libfile-find-rule-perl", however debootstrap's internal Perl implementation of pkgdetails does remove such a suffix: +--- | $d =~ s/:.*//; +---[ functions ] Ansgar [1]: https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/76