> On Sun, 22 Mar 2015 21:10:05 +0100, Michael Schwendt wrote: > > > # dnf search libtoolize > > Using metadata from Sat Mar 21 15:38:26 2015 > > ============================= Matched: libtoolize > > ============================== > > libedit.x86_64 : The NetBSD Editline library > > libedit.i686 : The NetBSD Editline library > > > > D'oh! > > > > It's a false positive, because the word "libtoolized" is found in > > the package description of "libedit". The package "libtool" is not > > found, because "dnf search" doesn't search filelists by default. > > A highly questionable decision. > > Yum manual page claims that "yum search" only searches package names > and summaries. However, the word "libtoolize" only appears in the > package _description_ of "libedit", _not_ in its package name or > %summary. Manual page claims that "yum search all …" should search > in description and URL. Something's wrong here. DNF man: ...By default the command will only look at package names and summaries, failing that (or whenever all was given as an argument) it will match against package descriptions and URLs... yum man: ...By default search will try searching just package names and summaries, but if that "fails" it will then try descriptions and url... I get the same result from "dnf search" and "yum search". It wasn't found in package name nor summary so it's searched in description. > > Further differences: > > # dnf whatprovides libtoolize > Using metadata from Sun Mar 22 23:13:16 2015 > Error: No Matches found > > Compare with: > > # yum whatprovides libtoolize > libtool-2.4.2-32.fc22.x86_64 : The GNU Portable Library Tool > Repo : fedora > Matched from: > Filename : /usr/bin/libtoolize > DNF doesn't match substrings by default in (what)provides command. You have to use '*': e.g. `dnf whatprovides *libtoolize` [1]. Although DNF doesn't show what file it matched from the package. We already have this reported in BZ [2]. Btw fedora devel list doesn't serve for reporting DNF bugs. Next time see the yum x dnf differences page [3] and eventually file it here [4], please, so we have it tracked ;). Thanks. [1] http://dnf.readthedocs.org/en/latest/cli_vs_yum.html#dnf-provides-complies-with-the-yum-documentation-of-the-command [2] https://bugzilla.redhat.com/show_bug.cgi?id=1192811 [3] http://dnf.readthedocs.org/en/latest/cli_vs_yum.html [4] https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=dnf Honza -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct