Re: Adopting and repurposing muon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



V Tue, Aug 13, 2024 at 08:35:18PM +0200, Marcus Müller napsal(a):
> 
> To make that a bit sweeter: Try `dnf5 install gnuradio-companion`. It will
> ask you to install the `gnuradio` package. I honestly don't know why

Because "dnf5 install" also searches arguments for files in /usr/bin and
/usr/sbin paths. gnuradio packages /usr/bin/gnuradio-companion.

This feature is not well-documented. One can find a notice in DNF5-SPECS(7):

    <package-spec> matches NEVRAs the same way  <package-name-spec>  does,
    but  in  case  matching NEVRAs fails, it attempts to match against
    provides and file provides of packages as well.

But there is missing a notice that in addition to file provides, it also
searches for files in the the two directories.

> `dnf5 repoquery --whatprovides gnuradio-companion` comes up empty,
>
Because --whatprovides searches for an absolute file name
(/usr/bin/gnuradio-companion). I also find this asymmetry counterinuitive.

-- Petr

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux