---
name: "repodiff"
section: "1"
platform: "linux"
package: "dnf-plugins-core"
version: "4.10.1-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/repodiff"
---

# repodiff(1)

redirecting to DNF repodiff Plugin Display a list of differences between two or more repositories

## NAME

repodiff - redirecting to 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)](/dnf/8.md)** 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

2014, Red Hat, Licensed under GPLv2+
