DNF4-REPOMANAGE(8)
π DNF4-REPOMANAGE(8) π
okay so bestie, welcome to dnf4-repomanage β that's the DNF repomanage Plugin, living in section 8 of the manual (the dnf-plugins-core girlies, you know the ones). She has one job and she eats every time: managing a repository, or just a plain little directory full of rpm packages. π
β¨ NAME β¨
dnf4-repomanage β the DNF repomanage Plugin.
Managing a repository, or a simple directory of rpm packages. Literally that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
dnf repomanage [<optional-options>] [<options>] <path>
π¦ DESCRIPTION π¦
so repomanage prints the newest β or the older β packages in a repository that you point at with <path>, and it does it in a way that's made for piping straight into xargs or whatever other program you're feeling that day. no cap. π₯
Now here's the plot twist: if <path> does not contain valid repodata, then it goes looking for rpm packages instead, and those get used. But if the repodata are there? Then repodata is the source of truth, periodt. It does <u>not</u> verify that the repodata actually match the rpm packages sitting right next to them. And honestly, queen behavior β repomanage can run with just the repodata, no rpm packages needed at all. π
To work correctly with modular packages,<path>has to contain repodata with modular metadata. If modular content is present,repomanageprints packages from the newest or older stream versions, in addition to the newest or older non-modular packages. Don't skip this part bestie, it matters. β¨
π Options
All the general DNF options are accepted β go peek at Options in dnf(8) for the deets.
The following options set what packages get displayed. These are mutually exclusive, meaning only one can be specified at a time. And if you specify none of them? The newest packages are shown. Default slay. π«Ά
--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 get displayed in the output:
-s,--spaceβ Print the resulting set separated by a space instead of a newline.-k<keep-number>,--keep<keep-number>β Limit the resulting set to the 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+.
okay and that's the whole page fr fr π this was dnf4-repomanage from dnf-plugins-core, version 4.10.1, dated Sep 27, 2025 β go forth and pipe responsibly, mwah πβ¨π
π¦ 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