Bug#1020783: init-system-helpers 1.65.2 broke cdebootstrap

Luca Boccassi bluca at debian.org
Wed Sep 28 01:55:53 BST 2022


Control: retitle -1 libdebian-installer: cannot parse dependencies with multiarch qualifier
Control: reassign -1 libdebian-installer4 0.123
Control: tags -1 patch

On Mon, 26 Sep 2022 18:05:39 +0200 Ansgar <ansgar at 43-1.org> wrote:
> On Mon, 2022-09-26 at 17:54 +0200, Holger Levsen wrote:
> > Sadly I've only enabled verbose bootstrapping today, but at least I
> > did that now
> > so you can look at
> >
https://jenkins.debian.net/job/reproducible_cdebootstrap_unstable/40/consoleFull
> > and maybe actually understand the problem:
> 
> There is this warning:
> 
> +---
> | W: resolver (perl:any): package doesn't exist
> +---
> 
> Which looks like cdebootstrap doesn't handle the multi-arch qualifier
> (in usrmerge's Depends field), then fails to install usrmerge (as
> dependency of init-system-helpers) and thus init-system-helpers.
> 
> I guess the last one missing causes this:
> 
> > (
> >
https://jenkins.debian.net/job/reproducible_cdebootstrap_bullseye/30/c
> > onsole
> > is a verbose build too.)
> > 
> > So I *guess* this is the place it breaks:
> > 
> > /var/lib/dpkg/info/dpkg.postinst: 115: deb-systemd-helper: not
found
> > /var/lib/dpkg/info/dpkg.postinst: 118: deb-systemd-helper: not
found
> > /var/lib/dpkg/info/dpkg.postinst: 125: deb-systemd-helper: not
found
> > P: Configuring package dpkg
> 
> We had a similar problem with base-installer (used as an
implementation
> detail of debootstrap in d-i):
> 
> https://bugs.debian.org/1020426
> 
> Which has a patch available:
> 
>
https://salsa.debian.org/installer-team/base-installer/-/merge_requests/9

Yeah it's the same problem, this time in libdebian-installer which
provides the di_packages_resolve_dependencies() API used by
cdebootstrap.

I've done a quick and superficial test of a similar change to ignore
the qualifier and it fixes the issue:

https://salsa.debian.org/installer-team/libdebian-installer/-/merge_requests/4

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20220928/0c619594/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list