DNF5-REPOCLOSURE(8)

πŸ’… dnf5-repoclosure β€” Repoclosure Command πŸŽ€

ok so this is the dnf5-repoclosure page from the dnf5 manual, bestie. buckle up, it's actually so good. πŸ¦‹


✨ SYNOPSIS ✨

dnf5 repoclosure [options] [<pkg-spec>...]

🌸 DESCRIPTION 🌸

okay so repoclosure is literally the vibe-check command for your package metadata. it takes a look at the metadata from multiple repositories (yes, multiple, she's multifandom πŸ‘‘) and it checks all the dependencies of the packages. then it hands you a list of every package whose dependencies just... don't resolve. tragic, but someone had to say it. πŸ’€

by default, repoclosure considers all enabled repositories when it's checking dependencies. but like, you're the main character here β€” you can customize the set of repos by using standard DNF5 options such as --repo, --enable-repo, or --disable-repo. slay. ✨


πŸ’– OPTIONS πŸ’–

  • --arch <arch> β€” only query packages for the specified architecture. you can specify it multiple times (default is all compatible architectures with your system). no cap. 🫢
  • --best β€” check only the newest packages per arch.
  • --check=REPO_ID,... β€” specify repositories to check. can be specified multiple times (default is all enabled repositories). accepted values are repository ids, or a glob of ids. iykyk 🌈
  • --json β€” request JSON output format for machine-readable results. for the girlies who script. πŸ€–
  • --newest β€” check only the newest packages in the repos.
  • <pkg-spec> β€” check closure for this package only.

πŸŽ€ EXAMPLES πŸŽ€

ok these are literally iconic, let's go one by one:

dnf5 repoclosure

display a list of unresolved dependencies for all enabled repositories. the classic. the original. the blueprint. ⭐

dnf5 repoclosure --repo rawhide --arch noarch --arch x86_64

display a list of unresolved dependencies for the rawhide repository and packages with architecture noarch and x86_64. two --arch flags in one command?? she ate. πŸ’…

dnf5 repoclosure --repo rawhide zmap

display a list of unresolved dependencies for the zmap package from rawhide repository.

dnf5 repoclosure --repo rawhide --check myrepo

display a list of unresolved dependencies for myrepo, an add-on for the rawhide repository. 🧚

dnf5 repoclosure --json

list all unresolved dependencies in JSON format for machine-readable results.


πŸ¦‹ JSON OUTPUT πŸ¦‹

  • dnf5 repoclosure --json

the command returns a JSON array, and each element describes one package with unresolved dependencies. each package object contains the following fields:

  • package (string) β€” Package NEVRA.
  • repo (string) β€” Repository identifier.
  • unresolved_dependencies (array) β€” List of unsatisfied requirements (strings).

for empty results, dnf5 repoclosure --json will return [] (empty array). literally nothing, and honestly? we love a clean slate. ✨

if unresolved dependencies are found, the command exits with code 1. if any package specifications fail to resolve, error messages are printed to stderr and the command exits with code 1. so yeah, 1 means "girl, something's unresolved" β€” twice over. 😭

⚠️ heads up bestie: exit code 1 is doing double duty here β€” it fires both when unresolved deps are found and when package specs fail to resolve (with errors going to stderr). don't get it twisted.

πŸ‘‘ Author πŸ‘‘

See AUTHORS.md in dnf5 source distribution. the legends themselves, fr fr.


Contributors to the dnf5 project. 🫢


okay that's the whole page!! this was dnf5-repoclosure from the dnf5 manual, dated Oct 17, 2026, and the credit for all this goes out to the dnf5 source distribution and the contributors to the dnf5 project. love that for them. bye bestie, go close some repos πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from