DNF4-REPODIFF(8) | dnf-plugins-core | DNF4-REPODIFF(8) |
NAME¶
dnf4-repodiff - DNF repodiff Plugin
Display a list of differences between two or more repositories
SYNOPSIS¶
dnf repodiff [<options>]
DESCRIPTION¶
repodiff is a program which will list differences between two sets of repositories. Note that by default only source packages are compared.
Options¶
All general DNF options are accepted, see Options in dnf(8) for details.
- --repo-old=<repoid>, -o <repoid>
- Add a <repoid> as an old repository. It is possible to be used in conjunction with --repofrompath option. Can be specified multiple times.
- --repo-new=<repoid>, -n <repoid>
- Add a <repoid> as a new repository. Can be specified multiple times.
- --archlist=<arch>, -a <arch>
- Add architectures to change the default from just comparing source packages. Note that you can use a wildcard "*" for all architectures. Can be specified multiple times.
- --size, -s
- Output additional data about the size of the changes.
- --compare-arch
- Normally packages are just compared based on their name, this flag makes the comparison also use the arch. So foo.noarch and foo.x86_64 are considered to be a different packages.
- --simple
- Output a simple one line message for modified packages.
- --downgrade
- Split the data for modified packages between upgraded and downgraded packages.
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
COPYRIGHT¶
2024, Red Hat, Licensed under GPLv2+
August 22, 2024 | 4.9.0 |