RPM-MISC(8)

πŸ“¦
version 4.20.1 Β· 5 versions
, in debian trixie, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing

πŸ’– 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' β€” defines MACRO with the value EXPR before 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 use rpmkeys(8). like, go there instead bestie.
  • --nodocs β€” do not install documentation. use --excludedocs instead.
  • --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. πŸ’–βœ¨πŸ¦‹