.\" Man page generated from reStructuredText .\" by the Docutils 0.23 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DNF5-REPOCLOSURE" "8" "Sep 06, 2026" "" "dnf5" .SH NAME dnf5-repoclosure \- Repoclosure Command .SH SYNOPSIS .sp \fBdnf5 repoclosure [options] [...]\fP .SH DESCRIPTION .sp 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. .sp 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\&. .SH OPTIONS .INDENT 0.0 .TP .B \fB\-\-arch \fP .nf Query only packages for specified architecture, can be specified multiple times (default is all compatible architectures with your system). .fi .sp .TP .B \fB\-\-best\fP .nf Check only the newest packages per arch. .fi .sp .TP .B \fB\-\-check=REPO_ID,...\fP .nf Specify repositories to check, can be specified multiple times (default is all enabled repositories). Accepted values are repository ids, or a glob of ids. .fi .sp .TP .B \fB\-\-json\fP .nf Request JSON output format for machine\-readable results. .fi .sp .TP .B \fB\-\-newest\fP .nf Check only the newest packages in the repos. .fi .sp .TP .B \fB\fP .nf Check closure for this package only. .fi .sp .UNINDENT .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf5 repoclosure\fP .nf Display a list of unresolved dependencies for all enabled repositories. .fi .sp .TP .B \fBdnf5 repoclosure \-\-repo rawhide \-\-arch noarch \-\-arch x86_64\fP .nf Display a list of unresolved dependencies for rawhide repository and packages with architecture noarch and x86_64. .fi .sp .TP .B \fBdnf5 repoclosure \-\-repo rawhide zmap\fP .nf Display a list of unresolved dependencies for zmap package from rawhide repository. .fi .sp .TP .B \fBdnf5 repoclosure \-\-repo rawhide \-\-check myrepo\fP .nf Display a list of unresolved dependencies for myrepo, an add\-on for the rawhide repository. .fi .sp .TP .B \fBdnf5 repoclosure \-\-json\fP .nf List all unresolved dependencies in JSON format for machine\-readable results. .fi .sp .UNINDENT .SH JSON OUTPUT .INDENT 0.0 .IP \(bu 2 \fBdnf5 repoclosure \-\-json\fP .UNINDENT .sp The command returns a JSON array, each element describing one package with unresolved dependencies. Each package object contains the following fields: .INDENT 0.0 .IP \(bu 2 \fBpackage\fP (string) \- Package NEVRA. .IP \(bu 2 \fBrepo\fP (string) \- Repository identifier. .IP \(bu 2 \fBunresolved_dependencies\fP (array) \- List of unsatisfied requirements (strings). .UNINDENT .sp For empty results, \fBdnf5 repoclosure \-\-json\fP will return \fB[]\fP (empty array). .sp If unresolved dependencies are found, the command exits with code \fB1\fP\&. If any package specifications fail to resolve, error messages are printed to \fBstderr\fP and the command exits with code \fB1\fP\&. .SH Author See AUTHORS.md in dnf5 source distribution. .SH Copyright Contributors to the dnf5 project. .\" End of generated man page.