For the moment, the problem can be worked around by installing older packages, but it is not really a supported configuration: the older package was built for Ubuntu 22.04.
I agree that upstream should make a decision first, but it seems that they are not yet convinced whether reverting will cause other issues.
Indeed it looks like /sbin/ldconfig is a bit of a special case, and the versions shipped in some Ubuntu releases work, while others segfault (the permission error is fine, as my non-privileged user cannot write /etc):
For the moment, the problem can be worked around by installing older packages, but it is not really a supported configuration: the older package was built for Ubuntu 22.04.
I agree that upstream should make a decision first, but it seems that they are not yet convinced whether reverting will cause other issues.
Indeed it looks like /sbin/ldconfig is a bit of a special case, and the versions shipped in some Ubuntu releases work, while others segfault (the permission error is fine, as my non-privileged user cannot write /etc):
ldconfig.real.focal ldconfig. real.focal: Can't create temporary cache file /etc/ld.so.cache~: Permission denied real.groovy ldconfig. real.groovy: Can't create temporary cache file /etc/ld.so.cache~: Permission denied real.hirsute Segmentation fault (core dumped) real.impish Segmentation fault (core dumped) real.kinetic ldconfig. real.kinetic: Can't create temporary cache file /etc/ld.so.cache~: Permission denied real.lunar: Can't create temporary cache file /etc/ld.so.cache~: Permission denied real.mantic ldconfig. real.mantic: Can't create temporary cache file /etc/ld.so.cache~: Permission denied real.noble: Can't create temporary cache file /etc/ld.so.cache~: Permission denied real.oracular ldconfig. real.oracular: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
ldconfig.
ldconfig.
ldconfig.
ldconfig.real.jammy Segmentation fault (core dumped)
ldconfig.
ldconfig.real.lunar ldconfig.
ldconfig.
ldconfig.real.noble ldconfig.
ldconfig.
So the 'window' of bad ldconfig versions is from hirsute (21.04) through jammy (22.04). After that, the problem seems to disappear.