REPOMANAGE(1)
β¨ NAME β¨
okay so welcome to REPOMANAGE(1), bestie! π repomanage β redirecting to DNF repomanage Plugin. Its whole thing is: manage a repository or a simple directory of rpm packages. Periodt.
πΈ SYNOPSIS πΈ
dnf repomanage [<optional-options>] [<options>] <path>
π¦ DESCRIPTION π¦
repomanage prints newest or older packages in a repository specified by <path>, and it does this for easy piping to xargs or similar programs. β¨
If <path> doesn't contain a valid repodata, it is searched for rpm packages which are then used instead. If the repodata are present, repomanage uses them as the source of truth β it doesn't verify that they match the present rpm packages. In fact, repomanage can run with just the repodata, no rpm packages are needed. π
In order to work correctly with modular packages, <path> has to contain repodata with modular metadata. If modular content is present, repomanage prints packages from newest or older stream versions in addition to newest or older non-modular packages. π
π Options π
All general DNF options are accepted β see Options in dnf(8) for details. π
These options set what packages are displayed. These options are mutually exclusive, i.e. only one can be specified. If no option is specified, the newest packages are shown. π
--oldβ show older packages (for a package or a stream show all versions except the newest one).--oldonlyβ show older packages (same as--old, but exclude the newest packages even when it's included in the older stream versions).--newβ show newest packages.
The following options control how packages are displayed in the output:
-s,--spaceβ print resulting set separated by space instead of newline.-k <keep-number>,--keep <keep-number>β limit the resulting set to newest<keep-number>packages.
π EXAMPLES π
Display newest packages in current repository (directory):
dnf repomanage --new .
Display 2 newest versions of each package in "home" directory:
dnf repomanage --new --keep 2 ~/
Display oldest packages separated by space in current repository (directory):
dnf repomanage --old --space .
π«Ά AUTHOR π«Ά
See AUTHORS in your Core DNF Plugins distribution.
π COPYRIGHT π
2014, Red Hat, Licensed under GPLv2+.
This iconic page is brought to you by dnf-plugins-core, version 4.10.1, dated Mar 28, 2025. π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: yum-utils 4.10.1-bp160.1.7 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms