Hi Cyril,
On Mon, Nov 23, 2026 at 10:39:11AM +0100, Cyril Brulebois wrote:
> My current preference would be something along those lines:
> - Introduce whatever changes we want in unstable/testing to make the
> situation and implementation clearer in the future (Pascal's proposal),
> also making sure to update documentation as needed, and also some code
> (see SSL_CERTS in src:debian-installer).
> - Minimally-patch the stable installer to avoid this issue, without
> changing anything else.
> Seeing how build/Makefile and other helpers routinely use `dpkg-deb
> --info`, I don't think it would be crazy to use `dpkg-deb --contents` to
> obtain the list of files shipped by ca-certificates-udeb and generate a
> file to be picked up for a final cleanup.
Agreed, it seems worth the effort and added complexity to avoid the
change in behaviour in stable. FWIW, my preseeding setup would have been
broken by and needed adjustment for the "proper" fix.
> I'm fine with looking into implementing this.
>
> To be clear, I'm absolutely not meaning to insist on what was my initial
> reaction, but at least Steve was thinking the same way, Pascal mentioned
> we would have to be careful and keep track of ca-certificates-udeb files,
> which this approach would address (not sure yet whether filenames are
> sufficient or whether we should look the contents as well; I think the
> former may be good enough)… and if that makes sense to everyone, we
> would hit the pause button on Pascal's MR for now, deploy the changes to
> src:debian-installer's git repository which would make them testable via
> daily builds (even if a release is long overdue, and on my short term
> list, but that's another story), together with an updated base-installer
> package.
>
> That would resolve the “unstable/testing versus stable” divergence (the
> former via daily builds and/or via an actual release), and once the hotfix
> is confirmed and backported to stable, Pascal's MR can be merged on top of
> it, and the hotfix can be phased out (at the same time or later, combining
> both shouldn't hurt).
>
> Does that make sense?
It does to me. Happy to help test/review any changes.
I'll focus on completing the work on ca-certificates postinst to clean
up existing installations.
Best regards,
Max