"dnf search" as braindead as "yum search"

Michael Schwendt mschwendt at gmail.com
Mon Mar 23 18:39:33 UTC 2015


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.

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





More information about the devel mailing list