Debian Codegraph @

upstream/mageia-cauldron/man8/dnf5-repo.8

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "DNF5-REPO" "8" "May 10, 2026" "" "dnf5"
31 .SH NAME
32 dnf5-repo \- Repo Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 repo <subcommand> [options] [<repo\-spec>...]\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBrepo\fP command in \fBDNF5\fP offers several queries for getting information
39 about repositories configured on the system.
40 .SH SUBCOMMANDS
41 .INDENT 0.0
42 .TP
43 .B \fBlist\fP
44 .nf
45 List available repositories.
46 .fi
47 .sp
48 .TP
49 .B \fBinfo\fP
50 .nf
51 Show detailed info about repositories.
52 .fi
53 .sp
54 .UNINDENT
55 .SH OPTIONS
56 .INDENT 0.0
57 .TP
58 .B \fB\-\-all\fP
59 .nf
60 Show information about all known repositories.
61 .fi
62 .sp
63 .TP
64 .B \fB\-\-enabled\fP
65 .nf
66 Show information only about enabled repositories.
67 This is the default behavior.
68 .fi
69 .sp
70 .TP
71 .B \fB\-\-disabled\fP
72 .nf
73 Show information only about disabled repositories.
74 .fi
75 .sp
76 .UNINDENT
77 .SH EXAMPLES
78 .INDENT 0.0
79 .TP
80 .B \fBdnf5 repo info \-\-all\fP
81 .nf
82 Print detailed info about all known repositories.
83 .fi
84 .sp
85 .TP
86 .B \fBdnf5 repo list \-\-disabled *\-debuginfo\fP
87 .nf
88 Print disabled repositories related to debugging.
89 .fi
90 .sp
91 .TP
92 .B \fBdnf5 config\-manager setopt repo_id.enabled=0\fP
93 .nf
94 Persistently disable repository using the config\-manager plugin command.
95 See \fBdnf5\-config\-manager(8)\fP for more details.
96 .fi
97 .sp
98 .UNINDENT
99 .SH JSON OUTPUT
100 .INDENT 0.0
101 .IP \(bu 2
102 \fBdnf5 repo list \-\-json\fP
103 .sp
104 The command returns a JSON array of objects, each describing one repository.
105 Each object contains the following fields:
106 .INDENT 2.0
107 .IP \(bu 2
108 \fBid\fP (string) \- Repository ID.
109 .IP \(bu 2
110 \fBname\fP (string) \- Repository name.
111 .IP \(bu 2
112 \fBis_enabled\fP (boolean) \- Repository status, either \fBtrue\fP (enabled),
113 or \fBfalse\fP (disabled).
114 .UNINDENT
115 .IP \(bu 2
116 \fBdnf5 repo info \-\-json\fP
117 .sp
118 The command returns a JSON array of objects, each describing one repository.
119 Each object contains the following fields:
120 .INDENT 2.0
121 .IP \(bu 2
122 \fBid\fP (string) \- Repository ID.
123 .IP \(bu 2
124 \fBname\fP (string) \- Repository name.
125 .IP \(bu 2
126 \fBis_enabled\fP (boolean) \- Repository status, either \fBtrue\fP (enabled),
127 or \fBfalse\fP (disabled).
128 .IP \(bu 2
129 \fBpriority\fP (integer) \- Repository priority.
130 .IP \(bu 2
131 \fBcost\fP (integer) \- Repository cost.
132 .IP \(bu 2
133 \fBtype\fP (string) \- Repository type.
134 .IP \(bu 2
135 \fBexclude_pkgs\fP (array of strings) \- List of excluded packages.
136 .IP \(bu 2
137 \fBinclude_pkgs\fP (array of strings) \- List of included packages.
138 .IP \(bu 2
139 \fBtimestamp\fP (integer) \- Timestamp of the last metadata update,
140 UNIX time.
141 .IP \(bu 2
142 \fBmetadata_expire\fP (integer) \- Metadata expiration time. If not set, value
143 is taken from global config.
144 .IP \(bu 2
145 \fBskip_if_unavailable\fP (boolean) \- Whether to skip the repository
146 if it is unavailable.
147 .IP \(bu 2
148 \fBrepo_file_path\fP (string) \- Path to the repository file.
149 .IP \(bu 2
150 \fBbase_url\fP (array of strings) \- List of base URLs. They are “effective”
151 base URLs, i.e., after expanding any variables included.
152 .IP \(bu 2
153 \fBmetalink\fP (string) \- Metalink URL.
154 .IP \(bu 2
155 \fBmirrorlist\fP (string) \- Mirrorlist URL.
156 .IP \(bu 2
157 \fBgpg_key\fP (array of strings) \- List of OpenPGP keys.
158 .IP \(bu 2
159 \fBrepo_gpgcheck\fP (boolean) \- Whether to perform GPG check
160 of the repository metadata.
161 .IP \(bu 2
162 \fBpkg_gpgcheck\fP (boolean) \- Whether to perform GPG check
163 of the packages.
164 .IP \(bu 2
165 \fBavailable_pkgs\fP (integer) \- Number of available packages
166 in the repository.
167 .IP \(bu 2
168 \fBpkgs\fP (integer) \- Number of packages
169 in the repository.
170 .IP \(bu 2
171 \fBsize\fP (integer) \- Total size of packages
172 in the repository, in bytes.
173 .IP \(bu 2
174 \fBcontent_tags\fP (array of strings) \- List of content tags.
175 .IP \(bu 2
176 \fBdistro_tags\fP (array of strings) \- List of distro tags.
177 .IP \(bu 2
178 \fBrevision\fP (string) \- Repository revision.
179 .IP \(bu 2
180 \fBmax_timestamp\fP (integer) \- Maximum timestamp from repomd records;
181 UNIX time.
182 .UNINDENT
183 .UNINDENT
184 .sp
185 For more details about the fields, see the \fBREPO OPTIONS\fP section in dnf5.conf(5).
186 .SH SEE ALSO
187 .INDENT 0.0
188 .INDENT 3.5
189 \fBdnf5.conf(5)\fP, Repo options
190 .UNINDENT
191 .UNINDENT
192 .SH AUTHOR
193 See AUTHORS.md in dnf5 source distribution.
194 .SH COPYRIGHT
195 Contributors to the dnf5 project.
196 .\" Generated by docutils manpage writer.
197 .