To make it clear, my suggestion for a workaround for jammy would be to have
_config->CndSet("APT::Get::Phase-Policy", true);
somewhere in the aptitude code. It is unclear to me if aptitude will break then as phased versions get their pin limited to 1, apt certainly does if there's a mismatch as in bug 1979244
Anyone doing the SRU will have to analyse that regression potential.
To make it clear, my suggestion for a workaround for jammy would be to have
_config- >CndSet( "APT::Get: :Phase- Policy" , true);
somewhere in the aptitude code. It is unclear to me if aptitude will break then as phased versions get their pin limited to 1, apt certainly does if there's a mismatch as in bug 1979244
Anyone doing the SRU will have to analyse that regression potential.