chantra / rpms / dnf

Forked from rpms/dnf 2 years ago
Clone

Blame SOURCES/0001-Add-best-as-default-behavior-RhBug16707761671683.patch

0f2fcc
From a07c124b4a249a7c98864f8236a569345dc4febe Mon Sep 17 00:00:00 2001
0f2fcc
From: Jaroslav Mracek <jmracek@redhat.com>
0f2fcc
Date: Mon, 4 Feb 2019 09:14:17 +0100
0f2fcc
Subject: [PATCH] Add best as default behavior (RhBug:1670776,1671683)
0f2fcc
0f2fcc
---
0f2fcc
 doc/api_conf.rst | 2 +-
0f2fcc
 etc/dnf/dnf.conf | 1 +
0f2fcc
 2 files changed, 2 insertions(+), 1 deletion(-)
0f2fcc
0f2fcc
diff --git a/doc/api_conf.rst b/doc/api_conf.rst
0f2fcc
index f86e443..9dd6a6a 100644
0f2fcc
--- a/doc/api_conf.rst
0f2fcc
+++ b/doc/api_conf.rst
0f2fcc
@@ -30,7 +30,7 @@ Configurable settings of the :class:`dnf.Base` object are stored into a :class:`
0f2fcc
   
0f2fcc
   .. attribute:: best
0f2fcc
 
0f2fcc
-    Boolean option, ``True`` instructs the solver to either use a package with the highest available version or fail. On ``False``, do not fail if the latest version can not be installed. Default is ``False``.
0f2fcc
+    Boolean option, ``True`` instructs the solver to either use a package with the highest available version or fail. On ``False``, do not fail if the latest version can not be installed. Default is ``True``.
0f2fcc
 
0f2fcc
   .. attribute:: cachedir
0f2fcc
 
0f2fcc
diff --git a/etc/dnf/dnf.conf b/etc/dnf/dnf.conf
0f2fcc
index 81b3e44..812c189 100644
0f2fcc
--- a/etc/dnf/dnf.conf
0f2fcc
+++ b/etc/dnf/dnf.conf
0f2fcc
@@ -2,3 +2,4 @@
0f2fcc
 gpgcheck=1
0f2fcc
 installonly_limit=3
0f2fcc
 clean_requirements_on_remove=True
0f2fcc
+best=True
0f2fcc
--
0f2fcc
libgit2 0.27.7
0f2fcc