Esta pode ser a questão mais inútil da década; no entanto, isso me intrigou, então achei que valeria a pena compartilhá-lo.
De acordo com a página do manual, dnf search <something>
ordena a lista de resultados do mais relevante para o mínimo.
No meu Fedora 23, o resultado de dnf search yum
é ordenado quase que perfeitamente pelo comprimento do nome do pacote + descrição:
[dr01@linuxbox ~]$ dnf search yum
Last metadata expiration check performed 0:06:14 ago on Fri Jan 8 14:03:49 2016.
================================================================================================ N/S Matched: yum =================================================================================================
yum.noarch : RPM package installer/updater/manager
yum-langpacks.noarch : Langpacks plugin for yum
yum-rhn-plugin.noarch : Spacewalk support for yum
yumdaemon.noarch : DBus daemon for yum package actions
yum-plugin-copr.noarch : Yum plugin to add copr command
yum-updateonboot.noarch : Run yum update on system boot
yum-axelget.noarch : Download accelerator plug-in for Yum
yum-metadata-parser.x86_64 : A fast metadata parser for yum
yumex.noarch : Yum Extender graphical package management tool
yum-plugin-keys.noarch : Yum plugin to deal with signing keys
yum-dellsysid.x86_64 : YUM plugin to retrieve the Dell System ID
yum-plugin-aliases.noarch : Yum plugin to enable aliases filters
yum-utils.noarch : Utilities based around the yum package manager
yumex-dnf.noarch : Yum Extender graphical package management tool
yum-plugin-ovl.noarch : Yum plugin to work around overlayfs issues
yum-plugin-tmprepo.noarch : Yum plugin to add temporary repositories
yum-plugin-list-data.noarch : Yum plugin to list aggregate package data
yum-plugin-verify.noarch : Yum plugin to add verify command, and options
perl-YUM-RepoQuery.noarch : Query a YUM repository for package information
yum-cron-daily.noarch : Files needed to run yum updates as a daily cron job
yum-plugin-tsflags.noarch : Yum plugin to add tsflags by a commandline option
yum-cron-hourly.noarch : Files needed to run yum updates as an hourly cron job
yum-plugin-filter-data.noarch : Yum plugin to list filter based on package data
yum-plugin-ps.noarch : Yum plugin to look at processes, with respect to packages
yum-cron-security.noarch : Files needed to run security yum updates as once a day
yum-plugin-puppetverify.noarch : Yum plugin to add puppet checksums to verify data
yum-plugin-show-leaves.noarch : Yum plugin which shows newly installed leaf packages
yum-plugin-versionlock.noarch : Yum plugin to lock specified packages from being updated
python-yumdaemon.noarch : Python 2 api for communicating with the yum-daemon DBus service
yum-plugin-protectbase.noarch : Yum plugin to protect packages from certain repositories.
python3-yumdaemon.noarch : Python 3 api for communicating with the yum-daemon DBus service
yum-plugin-refresh-updatesd.noarch : Tell yum-updatesd to check for updates when yum exits
dnf-yum.noarch : As a Yum CLI compatibility layer, supplies /usr/bin/yum redirecting to DNF.
yum-plugin-changelog.noarch : Yum plugin for viewing package changelogs before/after updating
yum-plugin-fastestmirror.noarch : Yum plugin which chooses fastest repository from a mirrorlist
yum-plugin-upgrade-helper.noarch : Yum plugin to help upgrades to the next distribution version
yum-plugin-local.noarch : Yum plugin to automatically manage a local repo. of downloaded packages
yum-plugin-merge-conf.noarch : Yum plugin to merge configuration changes when installing packages
yum-plugin-fs-snapshot.noarch : Yum plugin to automatically snapshot your filesystems during updates
fusioninventory-agent-yum-plugin.noarch : Ask FusionInventory agent to send an inventory when yum exits
yum-plugin-rpm-warm-cache.noarch : Yum plugin to access the rpmdb files early to warm up access to the db
yum-plugin-post-transaction-actions.noarch : Yum plugin to run arbitrary commands when certain pkgs are acted on
yum-NetworkManager-dispatcher.noarch : NetworkManager script which tells yum to check its cache on network change
yum-plugin-auto-update-debug-info.noarch : Yum plugin to enable automatic updates to installed debuginfo packages
yum-plugin-remove-with-leaves.noarch : Yum plugin to remove dependencies which are no longer used because of a removal
yum-cron.noarch : RPM package installer/updater/manager cron service
yum-updatesd.noarch : Update notification daemon
yum-plugin-priorities.noarch : plugin to give priorities to packages from different repos
mysql-community-release.noarch : MySQL repository configuration for yum
system-config-repo.noarch : Administrate a single yum repository file
mash.noarch : Koji buildsystem to yum repository converter
percona-release.noarch : Package to install Percona GPG key and YUM repo
grinder.noarch : A tool for synchronizing content from yum repositories
repoview.noarch : Creates a set of static HTML pages in a yum repository
fedrepos.noarch : Update fedora yum repositories on a host to use a single source
fedora-upgrade.noarch : Upgrade Fedora to next version using yum upgrade (unofficial tool)
dnf.noarch : Package manager forked from Yum, using libsolv as a dependency resolver
E o resultado de dnf search yum-plugin
é ordenado por tamanho do nome do pacote:
[dr01@linuxbox ~]$ dnf search yum-plugin
Last metadata expiration check performed 0:15:02 ago on Fri Jan 8 14:03:49 2016.
============================================================================================= N/S Matched: yum-plugin =============================================================================================
yum-plugin-ps.noarch : Yum plugin to look at processes, with respect to packages
yum-plugin-ovl.noarch : Yum plugin to work around overlayfs issues
yum-plugin-copr.noarch : Yum plugin to add copr command
yum-plugin-keys.noarch : Yum plugin to deal with signing keys
yum-plugin-local.noarch : Yum plugin to automatically manage a local repo. of downloaded packages
yum-plugin-verify.noarch : Yum plugin to add verify command, and options
yum-plugin-aliases.noarch : Yum plugin to enable aliases filters
yum-plugin-tmprepo.noarch : Yum plugin to add temporary repositories
yum-plugin-tsflags.noarch : Yum plugin to add tsflags by a commandline option
yum-plugin-changelog.noarch : Yum plugin for viewing package changelogs before/after updating
yum-plugin-list-data.noarch : Yum plugin to list aggregate package data
yum-plugin-merge-conf.noarch : Yum plugin to merge configuration changes when installing packages
yum-plugin-priorities.noarch : plugin to give priorities to packages from different repos
yum-plugin-filter-data.noarch : Yum plugin to list filter based on package data
yum-plugin-fs-snapshot.noarch : Yum plugin to automatically snapshot your filesystems during updates
yum-plugin-protectbase.noarch : Yum plugin to protect packages from certain repositories.
yum-plugin-show-leaves.noarch : Yum plugin which shows newly installed leaf packages
yum-plugin-versionlock.noarch : Yum plugin to lock specified packages from being updated
yum-plugin-puppetverify.noarch : Yum plugin to add puppet checksums to verify data
yum-plugin-fastestmirror.noarch : Yum plugin which chooses fastest repository from a mirrorlist
yum-plugin-rpm-warm-cache.noarch : Yum plugin to access the rpmdb files early to warm up access to the db
yum-plugin-upgrade-helper.noarch : Yum plugin to help upgrades to the next distribution version
yum-plugin-refresh-updatesd.noarch : Tell yum-updatesd to check for updates when yum exits
yum-plugin-remove-with-leaves.noarch : Yum plugin to remove dependencies which are no longer used because of a removal
fusioninventory-agent-yum-plugin.noarch : Ask FusionInventory agent to send an inventory when yum exits
yum-plugin-auto-update-debug-info.noarch : Yum plugin to enable automatic updates to installed debuginfo packages
yum-plugin-post-transaction-actions.noarch : Yum plugin to run arbitrary commands when certain pkgs are acted on
Qual poderia ser o motivo dessa falha engraçada?