1REPOMANAGE(1) dnf-plugins-core REPOMANAGE(1)
2
3
4
6 repomanage - redirecting to DNF repomanage Plugin
7
8 Manage a repository or a simple directory of rpm packages.
9
11 dnf repomanage [<optional-options>] [<options>] <path>
12
14 repomanage prints newest or older packages in a repository specified by
15 <path> for easy piping to xargs or similar programs. In case <path>
16 doesn't contain a valid repodata, it is searched for rpm packages which
17 are then used instead. If the repodata are present, repomanage uses
18 them as the source of truth, it doesn't verify that they match the
19 present rpm packages. In fact, repomanage can run with just the repo‐
20 data, no rpm packages are needed.
21
22 In order to work correctly with modular packages, <path> has to contain
23 repodata with modular metadata. If modular content is present, repoman‐
24 age prints packages from newest or older stream versions in addition to
25 newest or older non-modular packages.
26
27 Options
28 All general DNF options are accepted, see Options in dnf(8) for de‐
29 tails.
30
31 The following options set what packages are displayed. These options
32 are mutually exclusive, i.e. only one can be specified. If no option is
33 specified, the newest packages are shown.
34
35 --old Show older packages (for a package or a stream show all versions
36 except the newest one).
37
38 --new Show newest packages.
39
40 The following options control how packages are displayed in the output:
41
42 -s, --space
43 Print resulting set separated by space instead of newline.
44
45 -k <keep-number>, --keep <keep-number>
46 Limit the resulting set to newest <keep-number> packages.
47
49 Display newest packages in current repository (directory):
50
51 dnf repomanage --new .
52
53 Display 2 newest versions of each package in "home" directory:
54
55 dnf repomanage --new --keep 2 ~/
56
57 Display oldest packages separated by space in current repository (di‐
58 rectory):
59
60 dnf repomanage --old --space .
61
63 See AUTHORS in your Core DNF Plugins distribution
64
66 2021, Red Hat, Licensed under GPLv2+
67
68
69
70
714.0.24 Oct 21, 2021 REPOMANAGE(1)