DNF4-REPODIFF(8)

πŸ’– DNF4-REPODIFF πŸ’–

okay bestie, welcome to dnf4-repodiff, which lives in the dnf-plugins-core family of tools (that's the manual name, in case anyone asks, and it's a section-8 page, so yeah, it's a sysadmin one πŸ’…).

It's the DNF repodiff plugin, and its whole thing is: it shows you a list of the differences between two or more repositories. That's it. That's the vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

dnf repodiff [<options>]

🌸 DESCRIPTION 🌸

So repodiff is a program that lists the differences between two sets of repositories. Two sets, bestie β€” not just two repos, you can stack them up. It's giving "spot the difference" but for package repos. πŸ‘‘

⚠️ Real talk though: by default, only source packages are compared. Not binaries. Just sources. No cap. If you want more, you gotta tell it (see the archlist stuff below).

πŸŽ€ Options πŸŽ€

Every single general DNF option is accepted here too, so like, if you need the full list, go check out the Options section in dnf(8). That's where the general ones live. 🫢

  • --repo-old=<repoid>, -o <repoid> β€” adds a <repoid> as an old repository. You can absolutely run this in conjunction with the --repofrompath option, they're besties. And yes, you can specify it multiple times. Stack 'em. 🌈
  • --repo-new=<repoid>, -n <repoid> β€” adds a <repoid> as a new repository. Also multipliable. Also iconic. πŸ’œ
  • --archlist=<arch>, -a <arch> β€” adds architectures, which changes the default from comparing just source packages to comparing those arches too. Oh and you can use the wildcard * for all architectures, which is lowkey the main character move. Can be specified multiple times. ⭐
  • --size, -s β€” outputs extra data about the size of the changes. Numbers! For the nosy girlies. πŸ”₯
  • --compare-arch β€” normally packages are compared purely based on their name, but this flag makes the comparison also use the arch. So foo.noarch and foo.x86_64 count as different packages. Yeah. They're not the same girl. πŸ’…
  • --simple β€” outputs a simple one-line message for modified packages. Short. Clean. Minimalist era. πŸŽ€
  • --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. (The receipts are in the distribution, bestie, I don't make the rules πŸ“œ)

2014, Red Hat, Licensed under GPLv2+. Slay, legally. βš–οΈβœ¨


and that's the whole page, bestie 🫢 this was dnf4-repodiff from dnf-plugins-core, version 4.10.1, dated Sep 27, 2025. go diff some repos, you got this πŸ’–πŸŒΈπŸ’…

πŸ“¦ where this page comes from