DNF4-REPODIFF(8)

πŸ“¦
version 4.7.0 Β· 4 versions
, in centos-stream 10

πŸ’… DNF4-REPODIFF(8) β€” dnf-plugins-core, bestie edition πŸ’…

okay so this is dnf4-repodiff, straight out of your dnf-plugins-core era. it's the DNF repodiff Plugin, and it's here to spill the tea on what changed between repos 🫢

✨ NAME ✨

dnf4-repodiff β€” the DNF repodiff Plugin, no cap. its whole job: display a list of differences between two or more repositories. that's it, that's the vibe πŸ’–

🌸 SYNOPSIS 🌸

dnf repodiff [<options>]

πŸ¦‹ DESCRIPTION πŸ¦‹

repodiff is a program that literally lists the differences between two sets of repositories. simple, iconic, does what it says on the tin ✨

heads up bestie: by default it only compares source packages. so if you're like "where are my binaries??" β€” that's why. keep reading, there's a flag for that 😭

πŸŽ€ Options πŸŽ€

all the general DNF options are accepted too β€” go peek at Options in dnf(8) for the full rundown, iykyk.

  • --repo-old=<repoid>, -o <repoid> β€” adds a <repoid> as an old repository. fun fact: you can totally use this together with the --repofrompath option. and yes, you can specify it multiple times β€” stack 'em up πŸ’…
  • --repo-new=<repoid>, -n <repoid> β€” adds a <repoid> as a new repository. also repeatable, can be specified multiple times 🌈
  • --archlist=<arch>, -a <arch> β€” adds architectures, which switches you off the default of only comparing source packages. and yes, you can use the wildcard "*" to mean all architectures, slay. can be specified multiple times πŸ‘‘
  • --size, -s β€” outputs extra data about the size of the changes. numbers! love that for us πŸ“
  • --compare-arch β€” normally packages are just compared based on their name, but this flag makes the comparison also use the arch. so foo.noarch and foo.x86_64 get treated as different packages. periodt πŸ’€
  • --simple β€” outputs a simple one-line message for modified packages. short and sweet πŸŽ€
  • --downgrade β€” splits the data for modified packages between upgraded and downgraded packages. so you can tell which way things went πŸ™ˆ

πŸ”₯ EXAMPLES πŸ”₯

compare source pkgs in two local repos:

dnf repodiff --repofrompath=o,/tmp/repo-old --repofrompath=n,/tmp/repo-new --repo-old=o --repo-new=n

compare x86_64 compat. binary pkgs in two remote repos, and two local one:

dnf repodiff --repofrompath=o,http://example.com/repo-old --repofrompath=n,http://example.com/repo-new --repo-old=o --repo-new=n --archlist=x86_64

compare x86_64 compat. binary pkgs, but also compare architecture:

dnf repodiff --repofrompath=o,http://example.com/repo-old --repofrompath=n,http://example.com/repo-new --repo-old=o --repo-new=n --archlist=x86_64 --compare-arch

πŸ‘‘ AUTHOR πŸ‘‘

see AUTHORS in your Core DNF Plugins distribution 🫢

2026, Red Hat, Licensed under GPLv2+


k that's the whole page bestie, go diff some repos πŸ’–βœ¨

version 4.7.0 β€” dated Aug 10, 2026 β€” mwah, bye πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from