# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:22+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DNF5-CACHING" msgstr "" #. type: TH #: archlinux #, no-wrap msgid "Jan 19, 2026" msgstr "" #. type: TH #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dnf5" msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "dnf5-caching - Caching" msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This page aims to provide an overview of the various instruments, such as " "configuration options, command-line parameters, and commands, available in " "DNF5 for manipulating cached data and their associated scenarios." msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "CACHED DATA LOCATION" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Following directory structure illustrates a typical DNF5 cache directory:" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "/var/cache/libdnf5/\n" "├── fedora-*\n" "│\\ \\ ├── metalink.xml\n" "│\\ \\ ├── repodata\n" "│\\ \\ │\\ \\ ├── *-comps-Everything.x86_64.xml\n" "│\\ \\ │\\ \\ ├── *-primary.xml.zck\n" "│\\ \\ │\\ \\ └── repomd.xml\n" "│\\ \\ └── solv\n" "│\\ \\ ├── fedora-group.solvx\n" "│\\ \\ └── fedora.solv\n" "├── temporary_files.toml\n" "└── updates-*\n" " ├── metalink.xml\n" " ├── packages\n" " │\\ \\ └── bash-5.2.21-1.fc38.x86_64.rpm\n" " ├── repodata\n" " │\\ \\ ├── *-primary.xml.zck\n" " │\\ \\ ├── *-updateinfo.xml.zck\n" " │\\ \\ ├── *-comps-Everything.x86_64.xml.gz\n" " │\\ \\ └── repomd.xml\n" " └── solv\n" " ├── updates-group.solvx\n" " ├── updates-updateinfo.solvx\n" " └── updates.solv\n" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The default root cache directory is B, but when DNF5 " "runs as another user, it uses the cache from B<~/.cache/libdnf5> with the " "same structure. The root cache directory can be redefined using the " "B configuration option, and the user cachedir with the " "B option." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Within the cache directory, there are subdirectories corresponding to each " "configured repository, such as B and B\\&. These " "contain metadata files in the B directory and solver-generated " "cached files in the B directory. The solver files, used to enhance " "performance in resolving package dependencies or running queries, can be " "enabled or disabled on a repository level through the B " "configuration option. The B directory may store downloaded " "packages from a repository, and a B or B file provides " "information on the remote locations of the repository data." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Additionally, the root cache directory contains a B " "file related to temporarily stored packages in the system." msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "METADATA TYPES" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "There are several types of metadata downloaded from remote locations and " "processed in DNF5." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Some metadata is mandatory and always considered. The main repository " "metadata file, B, contains information about specific metadata " "type files related to a repository, such as checksums, file sizes, and their " "locations in the metadata hierarchy. Another mandatory file is the " "B metadata file, providing detailed information about available " "packages, including package names, versions, dependencies, etc. If DNF5 is " "compiled with modularity support, B metadata is also downloaded and " "processed." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Other metadata types are optional and can be loaded into DNF5 in the " "following ways:" msgstr "" #. type: IP #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\(bu" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Explicit user request by adding the requested type to the " "B configuration option" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Automatically during runtime, depending on the CLI command used" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "For B metadata, when the user passes any filepath argument" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Here is the list of supported optional metadata types:" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B: Metadata containing package groups and environment descriptions" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "B: Information about all files provided by packages" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "B: Security-related updates and advisories information" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "B: Information related to delta RPMs" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "B: Additional metadata, such as changelogs" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the required metadata is not present in the system, it can result in " "different scenarios, such as returning an empty query, error output for no " "match for an argument, or an error when resolving a transaction." msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "CACHING PACKAGES" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "By default, DNF5 does not cache downloaded package data, as the B " "option is configured to B\\&. With this setting, every time DNF5 " "downloads a package from the remote location, it tracks it within the " "B in the repository cache directory. After the next " "successful transaction run, all the files are removed based on this list. " "This process occurs only when the transaction contains any inbound action; " "otherwise, packages are retained, considering potential use cases." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When the keepcache option is set to B, downloaded files are not " "tracked, and they could be removed later, either manually or by executing " "the B command, for example, B\\&." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Packages are always retained when downloaded using the B command." msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SHARING ROOT CACHE AMONG USERS" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Typically, DNF5 is run with superuser privileges to make system changes. " "However, there are scenarios where executing queries without elevated " "privileges is sufficient. In such cases, we may need to download the entire " "repository metadata for the user account from the remote, even if there is " "existing data in the root\\(aqs cache." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In DNF5, when checking for empty, expired, or invalid repository metadata " "while running under a non-root account, we first examine the root\\(aqs " "location. If metadata is present there, it is copied to the user cache " "location. Note that this cloning of metadata is optimized when copy-on-write " "functionality is present on the filesystem, such as with btrfs." msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "CACHEONLY OPTION VS PARAMETER" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To instruct DNF5 to operate exclusively with cached data, avoiding downloads " "from remote locations, two instruments are available. First, using the " "B configuration option, we can specify either B to " "utilize only repository metadata from the cache or B to include the " "entire cache, disallowing any package downloads. Alternatively, when the B<--" "cacheonly> parameter is employed, it automatically sets the configuration " "option to B, resulting in a fully cache-driven operation." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Using the B value for the B configuration can be " "advantageous when optional repositories are temporarily unavailable or when " "we know they are unnecessary for our current use case. It is also useful " "when cached metadata is not the latest or has expired but is still " "functional." msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DELETE, CREATE, UPDATE" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "The following commands are used for manual cache deletion and creation:" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "" "B, Clean command \\%E#\\:clean-command-ref-labelE\n" "B, Makecache command \\%E#\\:makecache-command-ref-labelE\n" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To force metadata update before executing a command, use the B<--refresh> " "parameter." msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "Author" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "See AUTHORS.md in dnf5 source distribution." msgstr "" #. type: SH #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed #, no-wrap msgid "Copyright" msgstr "" #. #-#-#-#-# archlinux: dnf5-caching.7.pot (PACKAGE VERSION) #-#-#-#-# #. type: Plain text #. #-#-#-#-# debian-unstable: dnf5-caching.7.pot (PACKAGE VERSION) #-#-#-#-# #. type: Plain text #. #-#-#-#-# fedora-44: dnf5-caching.7.pot (PACKAGE VERSION) #-#-#-#-# #. type: Plain text #. #-#-#-#-# fedora-rawhide: dnf5-caching.7.pot (PACKAGE VERSION) #-#-#-#-# #. type: Plain text #. #-#-#-#-# mageia-cauldron: dnf5-caching.7.pot (PACKAGE VERSION) #-#-#-#-# #. Generated by docutils manpage writer. #. type: Plain text #. #-#-#-#-# opensuse-leap-16-1: dnf5-caching.7.pot (PACKAGE VERSION) #-#-#-#-# #. Generated by docutils manpage writer. #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: dnf5-caching.7.pot (PACKAGE VERSION) #-#-#-#-# #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Contributors to the dnf5 project." msgstr "" #. type: TH #: debian-unstable #, no-wrap msgid "May 09, 2026" msgstr "" #. type: TH #: fedora-44 #, no-wrap msgid "Apr 17, 2026" msgstr "" #. type: TH #: fedora-rawhide #, no-wrap msgid "May 12, 2026" msgstr "" #. type: TH #: mageia-cauldron #, no-wrap msgid "May 10, 2026" msgstr "" #. type: Plain text #: mageia-cauldron opensuse-leap-16-1 #, no-wrap msgid "" "B, I<\\%Clean command>\n" "B, I<\\%Makecache command>\n" msgstr "" #. type: SH #: mageia-cauldron opensuse-leap-16-1 #, no-wrap msgid "AUTHOR" msgstr "" #. type: SH #: mageia-cauldron opensuse-leap-16-1 #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: TH #: opensuse-leap-16-1 #, no-wrap msgid "Apr 29, 2025" msgstr "" #. type: TH #: opensuse-tumbleweed #, no-wrap msgid "Feb 19, 2026" msgstr ""