This has actually been fixed in 2.31-0ubuntu9.9, but the fix is to switch away from the old filename-based pattern to the build-id system, which means you won't be able to find using `dpkg -L libc6-dbg | grep /ld-2.31`. You can find the build ID using eu-readelf:
$ eu-readelf -n /lib/x86_64-linux-gnu/ld-2.31.so | grep 'Build ID'
Build ID: 4587364908de169dec62ffa538170118c1c3a078
$ dpkg -L libc6-dbg | grep 87364908de169dec62ffa538170118c1c3a078 # strip the first 2 chars as they're in the dir name
/usr/lib/debug/.build-id/45/87364908de169dec62ffa538170118c1c3a078.debug
This has actually been fixed in 2.31-0ubuntu9.9, but the fix is to switch away from the old filename-based pattern to the build-id system, which means you won't be able to find using `dpkg -L libc6-dbg | grep /ld-2.31`. You can find the build ID using eu-readelf:
$ eu-readelf -n /lib/x86_ 64-linux- gnu/ld- 2.31.so | grep 'Build ID' dec62ffa5381701 18c1c3a078 c62ffa538170118 c1c3a078 # strip the first 2 chars as they're in the dir name debug/. build-id/ 45/87364908de16 9dec62ffa538170 118c1c3a078. debug
Build ID: 4587364908de169
$ dpkg -L libc6-dbg | grep 87364908de169de
/usr/lib/
Marking as Fix Released.