[doc] Clarify --best behavior regarding deps (RhBug:1946975)

= changelog =
resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1946975
This commit is contained in:
Marek Blaha 2021-04-19 10:10:19 +02:00 committed by amatej
parent e2eaf56b74
commit 7d0284f341
2 changed files with 7 additions and 1 deletions

View File

@ -124,6 +124,10 @@ Options
``-b, --best``
Try the best available package versions in transactions. Specifically during :ref:`dnf upgrade <upgrade_command-label>`, which by default skips over updates that can not be installed for dependency reasons, the switch forces DNF to only consider the latest packages. When running into packages with broken dependencies, DNF will fail giving a reason why the latest version can not be installed.
Note that the use of the newest available version is only guaranteed for
the packages directly requested (e.g. as a command line arguments), and the
solver may use older versions of dependencies to meet their requirements.
``--bugfix``
Include packages that fix a bugfix issue. Applicable for the install, repoquery, updateinfo and
upgrade commands.

View File

@ -114,7 +114,9 @@ configuration file by your distribution to override the DNF defaults.
version or fail. On ``False``, do not fail if the latest version cannot be
installed and go with the lower version. The default is ``False``. Note
this option in particular :ref:`can be set in your configuration file by
your distribution <conf_distribution_specific-label>`.
your distribution <conf_distribution_specific-label>`. Also note that the
use of the highest available version is only guaranteed for the packages
directly requested and not for their dependencies.
``cachedir``
:ref:`string <string-label>`