Acknowledgement sent
to Nicholas Brown <[email protected]>:
New Bug report received and forwarded. Copy sent to Javier Fernández-Sanguino Peña <[email protected]>.
(Mon, 20 Sep 2021 10:03:03 GMT) (full text, mbox, link).
Package: debian-goodies
Version: 0.87
Currently find-dbgsym-packages returns a list of -dbgsym packages, but
those do not include versions constraint, so if that list is installed it
may result in updates being installed (including of dependencies) which
will likely not be of any use to decode cores generated from the previous
installed version.
Consider something like:
$ app-dbgsym libfoo1-dbgsym /var/crash/1000/app.core
app-dbgsym libfoo1-dbgsym
$ apt install app-dbgsym libfoo1-dbgsym
The following NEW packages will be installed:
app-dbgsym libfoo1-dbgsym
The following packages will be upgraded:
app libfoo1
$ apt-cache policy app app-dbgsym libfoo1 libfoo1-dbgsym
app:
Installed: 1.0.1-1
Candidate: 1.0.3-1
app-dbgsym:
Installed: 1.0.1-1
Candidate: 1.0.3-1
libfoo1
Installed: 1.2.3-1
Candidate: 1.2.9-2
libfoo1-dbgsym
Installed: 1.2.3-1
Candidate: 1.2.9-2
To be able to decode a corefile it would be preferable that packages were
not upgraded, so it would be useful if the output of find-dbgsym-packages
included the current version information. Something like:
$ app-dbgsym libfoo1-dbgsym /var/crash/1000/app.core
app-dbgsym=1.0.1-1 libfoo1-dbgsym=1.2.3-1
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.