Debian Bug report logs - #994737
find-dbgsym-packages: include package version

version graph

Package: debian-goodies; Maintainer for debian-goodies is Javier Fernández-Sanguino Peña <[email protected]>; Source for debian-goodies is src:debian-goodies (PTS, buildd, popcon).

Reported by: Nicholas Brown <[email protected]>

Date: Mon, 20 Sep 2021 10:03:01 UTC

Severity: normal

Found in version debian-goodies/0.87

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Javier Fernández-Sanguino Peña <[email protected]>:
Bug#994737; Package debian-goodies. (Mon, 20 Sep 2021 10:03:03 GMT) (full text, mbox, link).


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).


Message #5 received at [email protected] (full text, mbox, reply):

From: Nicholas Brown <[email protected]>
To: [email protected]
Subject: find-dbgsym-packages: include package version
Date: Mon, 20 Sep 2021 11:00:51 +0100
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:10:54 2025; Machine Name: buxtehude

Debian Bug tracking system

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/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.