Debian Codegraph @

upstream/opensuse-tumbleweed/man8/dnf5-repo.8

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