Debian Codegraph @

upstream/debian-unstable/man8/dnf5-repoclosure.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-REPOCLOSURE" "8" "May 09, 2026" "" "dnf5"
32 .SH NAME
33 dnf5-repoclosure \- Repoclosure Command
34 .SH SYNOPSIS
35 .sp
36 \fBdnf5 repoclosure [options] [<pkg\-spec>...]\fP
37 .SH DESCRIPTION
38 .sp
39 The \fBrepoclosure\fP command allows you to analyze package metadata from multiple repositories. It checks all dependencies of the packages and provides a list of packages that have unresolved dependencies.
40 .sp
41 By default, \fBrepoclosure\fP considers all enabled repositories when checking dependencies. However, you can customize the set of repositories by using standard DNF5 options such as \fB\-\-repo\fP, \fB\-\-enable\-repo\fP, or \fB\-\-disable\-repo\fP\&.
42 .SH OPTIONS
43 .INDENT 0.0
44 .TP
45 .B \fB\-\-arch <arch>\fP
46 .nf
47 Query only packages for specified architecture, can be specified multiple times (default is all compatible architectures with your system).
48 .fi
49 .sp
50 .TP
51 .B \fB\-\-best\fP
52 .nf
53 Check only the newest packages per arch.
54 .fi
55 .sp
56 .TP
57 .B \fB\-\-check=REPO_ID,...\fP
58 .nf
59 Specify repositories to check, can be specified multiple times (default is all enabled repositories).
60 Accepted values are repository ids, or a glob of ids.
61 .fi
62 .sp
63 .TP
64 .B \fB\-\-json\fP
65 .nf
66 Request JSON output format for machine\-readable results.
67 .fi
68 .sp
69 .TP
70 .B \fB\-\-newest\fP
71 .nf
72 Check only the newest packages in the repos.
73 .fi
74 .sp
75 .TP
76 .B \fB<pkg\-spec>\fP
77 .nf
78 Check closure for this package only.
79 .fi
80 .sp
81 .UNINDENT
82 .SH EXAMPLES
83 .INDENT 0.0
84 .TP
85 .B \fBdnf5 repoclosure\fP
86 .nf
87 Display a list of unresolved dependencies for all enabled repositories.
88 .fi
89 .sp
90 .TP
91 .B \fBdnf5 repoclosure \-\-repo rawhide \-\-arch noarch \-\-arch x86_64\fP
92 .nf
93 Display a list of unresolved dependencies for rawhide repository and packages with architecture noarch and x86_64.
94 .fi
95 .sp
96 .TP
97 .B \fBdnf5 repoclosure \-\-repo rawhide zmap\fP
98 .nf
99 Display a list of unresolved dependencies for zmap package from rawhide repository.
100 .fi
101 .sp
102 .TP
103 .B \fBdnf5 repoclosure \-\-repo rawhide \-\-check myrepo\fP
104 .nf
105 Display a list of unresolved dependencies for myrepo, an add\-on for the rawhide repository.
106 .fi
107 .sp
108 .TP
109 .B \fBdnf5 repoclosure \-\-json\fP
110 .nf
111 List all unresolved dependencies in JSON format for machine\-readable results.
112 .fi
113 .sp
114 .UNINDENT
115 .SH JSON OUTPUT
116 .INDENT 0.0
117 .IP \(bu 2
118 \fBdnf5 repoclosure \-\-json\fP
119 .UNINDENT
120 .sp
121 The command returns a JSON array, each element describing one package with unresolved dependencies.
122 Each package object contains the following fields:
123 .INDENT 0.0
124 .IP \(bu 2
125 \fBpackage\fP (string) \- Package NEVRA.
126 .IP \(bu 2
127 \fBrepo\fP (string) \- Repository identifier.
128 .IP \(bu 2
129 \fBunresolved_dependencies\fP (array) \- List of unsatisfied requirements (strings).
130 .UNINDENT
131 .sp
132 For empty results, \fBdnf5 repoclosure \-\-json\fP will return \fB[]\fP (empty array).
133 .sp
134 If unresolved dependencies are found, the command exits with code \fB1\fP\&.
135 If any package specifications fail to resolve, error messages are printed to \fBstderr\fP and the command exits with code \fB1\fP\&.
136 .SH Author
137 See AUTHORS.md in dnf5 source distribution.
138 .SH Copyright
139 Contributors to the dnf5 project.
140 .\" End of generated man page.