Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1874275 - please make GDB advise to use dnf debuginfo-install filename instead dnf --enablerepo='*debug*' install filename
Summary: please make GDB advise to use dnf debuginfo-install filename instead dnf --e...
Alias: None
Product: Fedora
Classification: Fedora
Component: gdb
Version: 33
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Kevin Buettner
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2020-08-31 21:16 UTC by Sergio Basto
Modified: 2020-11-03 01:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)

Description Sergio Basto 2020-08-31 21:16:50 UTC
Description of problem:
instead of use

    dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/69/b41b2860e58dc8dfd849fb73ca4a5d8a7676d0.debug

we can use 

    dnf debuginfo-install /usr/lib/debug/.build-id/69/b41b2860e58dc8dfd849fb73ca4a5d8a7676d0.debug

which works perfectly.

Version-Release number of selected component (if applicable):


Actual results:

gdb ask wrongly to enable all *debug* repos which may enable debug repos from repos that aren't enabled 

Expected results:
gdb ask to use  dnf debuginfo-install

Additional info:

Comment 1 Kevin Buettner 2020-09-02 17:23:04 UTC
I've seen these messages too.  Using "dnf debuginfo-install" does indeed work.  I'll see what I can do...

Comment 2 Sergio Basto 2020-11-03 00:48:22 UTC
see also

Note You need to log in before you can comment on or make changes to this bug.