dnf debuginfo-install [Re: dnf debug-info-install]

Jan Kratochvil jan.kratochvil at redhat.com
Tue Apr 7 12:47:32 UTC 2015


On Tue, 07 Apr 2015 14:25:32 +0200, Michael Catanzaro wrote:
> Because gdb recommends you use it whenever it detects that debuginfo 
> is missing. :-) Then the process for figuring out how to install it is 
> unnecessarily complex;

I have filed+discussed that it is really complex to find dnf plugins:
	[RFE] Define virtual provides for DNF commands and suggest installing the appropriate one if a command was not found
	https://bugzilla.redhat.com/show_bug.cgi?id=1208773

Then 'dnf debuginfo-install' is in dnf-plugins-core (not dnf-plugins-extras)
which I was told that it is installed by default but that is still not
sufficient, at least in mock it is not installed by default.

The current problem is that the suggestion GDB makes will not work anyway due
to:
	dnf debuginfo-install does not accept NVRA
	https://bugzilla.redhat.com/show_bug.cgi?id=1208769
I have cancelled the Koji update but apparently it already got distributed
into updates-testing.  Not sure if it is OK to depend on users
doing 'yum distro-sync' (instead of 'yum upgrade') or whether one should
really publish new reverted update even if it was distributed by
updates-testing only.


> Or make it a dependency of gdb: that would be fine too. (Gosh, another great
> case for Recommends, if only we were allowed to use Recommends!)

Great idea, I forgot about it.  I already use it in gdb.spec but I am not
aware Recommends should not be used yet.  But you are right
	https://fedoraproject.org/wiki/Packaging:Guidelines
does not mention 'Recommends'.  OTOH it also does not disallow it.
It works fine with dnf-0.6.4-2.fc22 (yum-3.4.3-155.fc22 ignores it).


Jan


More information about the devel mailing list