RPM-MISC(8)
π rpm misc options β manual page, but make it make sense π
okay bestie, so this is rpm misc options, section 8 of the manual. It's the lil grab-bag of extra flags for rpm(8) β the ones you don't need need, but that come in clutch when you're debugging or when something's acting up. Think of it as the junk drawer of rpm, except the junk is actually useful. π
πΈ NAME πΈ
rpm β the lesser-needed options for rpm(8). Not the main character options, the supporting cast. Still iconic tho. π
β¨ OPTIONS β¨
--predefine='MACRO EXPR'β definesMACROwith the valueEXPRbefore the macro files get loaded. So like, you're setting the vibe before the party even starts. π
π Switching off features π
not me turning things off on purpose, but sometimes that's the move fr fr.
--color [never|auto|always]β use terminal colors to highlight error and debug messages. Default is turning colors on for ttys only, i.e.auto. π--nocontextsβ disable the SELinux plugin if it's available. This stops the plugin from setting SELinux contexts for files and scriptlets. bye plugin π--noglobβ do not glob arguments when installing package files.--nocapsβ don't verify capabilities of files. skipping the vibe check on caps, periodt.--excludeconfigs,--noconfigsβ do not install configuration files. two names, one energy.--nohdrchkβ don't verify database header(s) when they're retrieved.
π Debugging π
the girlies love a good debug flag, no cap.
-d,--debugβ print debugging information. π«Ά--deploopsβ print dependency loops as warnings. π--fsmdebugβ print debuging information of payload handling code.--rpmfcdebugβ print debug information about files packaged.--rpmiodebugβ print debug information about file IO.--statsβ print runtime statistics of often used functions. π
π Obsolete Options π
these are giving ancient. still listed, still here, so here's the full tea:
-K,--checksigβ see and userpmkeys(8). like, go there instead bestie.--nodocsβ do not install documentation. use--excludedocsinstead.--promoteepochβ enable obsolete epoch handling used in the rpm 3.x time frame. yes, obsolete is in the description, we know. π--prtpktsβ OBSOLETE! used to print the packages containing and representing the pgp keys for debugging purposes.
heads up queen: the ones under Obsolete Options are literally labeled obsolete, and --prtpkts even shouts it in all caps. don't build your whole life on them. π
that's the whole page, and honestly? ate. π
signing off from RPM misc options(8) β that's the source and version of this lil page, so if you're quoting me, quote the whole thing. mwah. πβ¨π¦
π¦ where this page comes from
- debian trixie: rpm 4.20.1+dfsg-3 Β· GPL-2.0-or-later
- nixpkgs unstable: rpm 4.20.1
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- ubuntu questing: rpm 4.20.1+dfsg-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms