FIND-DBGSYM-PACKAGES(1)
π find-dbgsym-packages β the Debian-goodies girlie π
okay bestie, so like, we're in the Debian-goodies documentation corner of the manual, and this is the find-dbgsym-packages page. it's giving "I need to debug something and I need the debug symbols, stat." π
β¨ NAME β¨
find-dbgsym-packages β literally gets you a list of dbgsym packages from an executable, a library, a core dump, or a process. that's the whole vibe. π
β¨ SYNOPSIS β¨
find-dbgsym-packages [--install] [--ssh] [--deb] [--all] executable,
core file or PID [executable, library, core file or PID β¦]
πΈ DESCRIPTION πΈ
so find-dbgsym-packages lists all the *-dbgsym packages you need to properly debug processes. you hand it a list of executables, libraries, core dumps, or PID numbers, and it tells you what's missing. it's basically your debug-symbol bestie fr fr. π¦
π«Ά PREREQUISITES π«Ά
okay so first things first, you must already have the correct debug lines in your /etc/apt/sources.list file. like, for example:
deb http://debug.mirrors.debian.org/debian-debug/ unstable-debug main
and don't forget to run "apt update" as root after adding a line like that. that part is not optional, bestie, do not skip it. π
also, find-dbgsym-packages requires the elfutils and dctrl-tools packages to be installed. no cap.
π OPTIONS π
--installβ so instead of just showing you the list of required dbgsym packages, it goes ahead and directly usesapt(1)to install them. (it does still show you theaptcommand it's running though, so you can watch. π) and if you're not running as root andsudo(1)is installed, it calls"sudo apt install ...", otherwise it uses"su - -c 'apt install ...'".--sshβ uses"ssh root@localhost -t"instead ofsudoorsu - -cto gain administrative privileges. slay, but note: this requires the package"openssh-client"and an SSH daemon (e.g."openssh-server") to be installed (and running). β--debβ generates a metapackage which depends on all the still-needed debug symbol packages. iconique. this requires the package"equivs"to be installed. and if--installis also given, it automatically installs the package and all its (missing) dependencies. π--allβ shows or includes all relevant debug symbol packages, not just the ones that are still missing. π
π₯ EXAMPLES π₯
$ find-dbgsym-packages 15865
libcap2-dbgsym libtinfo5-dbg zsh-dbgsym
$ find-dbgsym-packages /var/crash/1000/15865-1000-1000-11-1511059476-c6--bin-zsh.core
libcap2-dbgsym libtinfo5-dbg zsh-dbgsym
$ find-dbgsym-packages /bin/ls
coreutils-dbgsym libpcre3-dbg libselinux1-dbgsym
$ find-dbgsym-packages /lib/x86_64-linux-gnu/libselinux.so.1
libpcre3-dbg libselinux1-dbgsym
π AUTHOR π
Stefan Fritch <sf@debian.org>
this manpage was written by Axel Beckert <abe@debian.org>.
π COPYRIGHT AND LICENCE π
Copyright (C) 2017 Stefan Fritch <sf@debian.org>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
On Debian systems, a copy of the GNU General Public License version 2 can be found in /usr/share/common-licenses/GPL-2.
π§ SEE ALSO π§
<https://wiki.debian.org/AutomaticDebugPackages>, debuginfod(8), debuginfod-find(1)
and that's the whole page bestie!! πβ¨ this was rendered by perl v5.40.1 on 2025-12-06, so yeah, dated but still serving looks. go forth and debug, main character. ππ¦π
π¦ where this page comes from
- ubuntu resolute: debian-goodies 0.88.2ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: debian-goodies 0.88.2ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms