On Fri, Aug 18, 2023 at 09:52:36PM +0200, Andreas Beckmann wrote:
> The actual regression is in openjdk-XX which removed some undocumented
> undefined behavior. This was not neccessarily on purpose.
> ca-certificates-java relied on the fact that an unconfigured
> openjdk-jre-XX-headless could be used for its configuration, which is no
> longer the case. ca-certificates-java now has to pre-configure java to a
> usable state if ca-certificates-java gets configured before
> openjdk-XX-jre-headless was ever configured. That may happen due to the
> circular dependency.
> 
> The current fix may actually cause dpkg trigger cycles (due to the circular
> dependency), but that's a rare event. IIRC in my piuparts tests of this fix
> I encountered one new trigger cycle, while fixing about 50-250 installation
> failures due to the ca-certificates-java failure.
> (exact numbers are hard to estimate since that failure may not propagate
> transitively: if installing foo which depends on ca-certifictes-java fails,
> installing bar which depends on foo (and therefore ca-certificates-java,
> too) may succeed if apt swaps the configuration order of
> ca-certificates-java and openjdk-XX-jre-headless.

This still seems better for now than the current situation, so even if we
do something else later I'd like to get the wheels turning on this. I
sent a revised text, as it will have you name on it are you happy with it?

Thanks,

-- 
Jonathan Wiltshire                                      j...@debian.org
Debian Developer                         http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51
ed25519/0x196418AAEB74C8A1: CA619D65A72A7BADFC96D280196418AAEB74C8A1


__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to