Document that "dnf makecache --timer" exits on a first failed mirror
Resolves: RHEL-1342
This commit is contained in:
parent
8cc88f747d
commit
76b2933dee
38
0026-doc-Makecache-with-timer-tries-only-one-mirror.patch
Normal file
38
0026-doc-Makecache-with-timer-tries-only-one-mirror.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From 9ceb9b3591899aaa9bb4932bc20be2fa650cbddc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Pavla Kratochvilova <pkratoch@redhat.com>
|
||||||
|
Date: Mon, 18 Mar 2024 11:58:08 +0100
|
||||||
|
Subject: [PATCH] doc: Makecache with timer tries only one mirror
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Upstream commit: a6d82221ae32045f0f788708a52d2f2bf5c5740b
|
||||||
|
Related: https://bugzilla.redhat.com/show_bug.cgi?id=922667
|
||||||
|
Related: https://issues.redhat.com/browse/RHEL-1342
|
||||||
|
|
||||||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||||
|
---
|
||||||
|
doc/command_ref.rst | 5 +++--
|
||||||
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/doc/command_ref.rst b/doc/command_ref.rst
|
||||||
|
index 42dd6e8a..36817c00 100644
|
||||||
|
--- a/doc/command_ref.rst
|
||||||
|
+++ b/doc/command_ref.rst
|
||||||
|
@@ -973,10 +973,11 @@ Makecache Command
|
||||||
|
|
||||||
|
``dnf [options] makecache --timer``
|
||||||
|
Like plain ``makecache``, but instructs DNF to be more resource-aware,
|
||||||
|
- meaning it will not do anything if running on battery power and will terminate
|
||||||
|
+ meaning it will not do anything if running on battery power, it will terminate
|
||||||
|
immediately if it's too soon after the last successful ``makecache`` run
|
||||||
|
(see :manpage:`dnf.conf(5)`, :ref:`metadata_timer_sync
|
||||||
|
- <metadata_timer_sync-label>`).
|
||||||
|
+ <metadata_timer_sync-label>`), and if the first mirror in a repository mirrorlist fails,
|
||||||
|
+ it will not try to synchronize the metadata from more mirrors for that repository.
|
||||||
|
|
||||||
|
.. _mark_command-label:
|
||||||
|
|
||||||
|
--
|
||||||
|
2.45.2
|
||||||
|
|
7
dnf.spec
7
dnf.spec
@ -69,7 +69,7 @@ It supports RPMs, modules and comps groups & environments.
|
|||||||
|
|
||||||
Name: dnf
|
Name: dnf
|
||||||
Version: 4.14.0
|
Version: 4.14.0
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
Summary: %{pkg_summary}
|
Summary: %{pkg_summary}
|
||||||
# For a breakdown of the licensing, see PACKAGE-LICENSING
|
# For a breakdown of the licensing, see PACKAGE-LICENSING
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -100,6 +100,7 @@ Patch22: 0022-remove-oldinstallonly-when-no-old-installonly-packag.patch
|
|||||||
Patch23: 0023-Limit-queries-to-nevra-forms-when-provided-by-comman.patch
|
Patch23: 0023-Limit-queries-to-nevra-forms-when-provided-by-comman.patch
|
||||||
Patch24: 0024-doc-Remove-provide-of-spec-definition-for-repoquery-.patch
|
Patch24: 0024-doc-Remove-provide-of-spec-definition-for-repoquery-.patch
|
||||||
Patch25: 0025-man-Improve-upgrade-minimal-command-docs-RHEL-6417.patch
|
Patch25: 0025-man-Improve-upgrade-minimal-command-docs-RHEL-6417.patch
|
||||||
|
Patch26: 0026-doc-Makecache-with-timer-tries-only-one-mirror.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -388,6 +389,10 @@ popd
|
|||||||
%{python3_sitelib}/%{name}/automatic/
|
%{python3_sitelib}/%{name}/automatic/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 12 2024 Petr Pisar <ppisar@redhat.com> - 4.14.0-15
|
||||||
|
- Document that "dnf makecache --timer" exits on a first failed mirror
|
||||||
|
(RHEL-1342)
|
||||||
|
|
||||||
* Mon Jun 03 2024 Petr Pisar <ppisar@redhat.com> - 4.14.0-14
|
* Mon Jun 03 2024 Petr Pisar <ppisar@redhat.com> - 4.14.0-14
|
||||||
- Fix dnf upgrade-minimal documentation in dnf(8) manual (RHEL-6417)
|
- Fix dnf upgrade-minimal documentation in dnf(8) manual (RHEL-6417)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user