LINTIAN

# `debug-symbols-directly-in-usr-lib-debug`

The given debugging symbols-only object is installed directly in `/usr/lib/debug`, although it should be installed in a subdirectory. For example, debug symbols of a binary in `/usr/bin` should be placed in `/usr/lib/debug/usr/bin`. gdb, when looking for debugging symbols, prepends `/usr/lib/debug` to whatever path it finds in the .gnu_debuglink section, which when using dh_strip(1) is either the path to your binary/library or a build-id based path.

Severity: | `error`
Experimental: | `false`

## See also

- list of all the affected packages
- the source of this tag