Description of problem: gdb suggest to install a package from a broken path. This happens when a .debug file corresponding to the installed debug package is missing (was removed for example). gdb then tries to use build-id based symlink which is broken. Steps to Reproduce: 0. install glibc-debuginfo: dnf debuginfo-install glibc, and gdb-debuginfo 1. remove the corresponding .debug file: rm /usr/lib/debug/lib64/libc.so.6-2.35-22.fc36.x86_64.debug 2. gdb --args gdb /bin/ls -ex 'b write' Actual results: Missing separate debuginfo for /lib64/libc.so.6 Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/82/../../../../../usr/lib/debug/lib64/libc.so.6-2.35-22.fc36.x86_64.debug
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.