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--repofrompathoption, 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. Sofoo.noarchandfoo.x86_64count 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 π)
π Copyright π
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
- ubuntu resolute: dnf-plugins-core 4.10.1-5 Β· GPL-2.0-or-later
- ubuntu stonking: dnf-plugins-core 4.10.1-5 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms