YUM-DEBUG-DUMP(1)

✨ YUM-DEBUG-DUMP(1) ✨

okay so bestie, welcome to yum-debug-dump β€” which is, and I cannot stress this enough, literally just a redirect to the DNF debug plugin. Like, the name is giving yum but the energy is fully DNF, iykyk πŸ’…

The plugin ships two dnf commands and we're gonna go through both, no skips, no shortcuts. 🫢


🌸 NAME 🌸

yum-debug-dump β€” redirecting to DNF debug Plugin


πŸ’– DESCRIPTION πŸ’–

So the plugin gives you two whole dnf commands. Two! Iconic behaviour honestly.

  • debug-dump β€” Writes system RPM configuration to a dump file. That's it, that's the whole vibe. πŸ“
  • debug-restore β€” Restore the installed packages to the versions written in the dump file.

Now bestie, pay attention here because debug-restore has layers ✨. By default, it does not remove already-installed versions of install-only packages, and it only marks those versions that are mentioned in the dump file for installation. The final decision on which versions to keep on the system is left to dnf β€” yes, the main character makes the call πŸ‘‘ β€” and you can fine-tune that decision using the installonly_limit configuration option (peep dnf.conf(5) for the deets).

πŸŽ€ NOTE: πŸŽ€

⚠️ DNF and Yum debug files are not compatible and thus can't be used by the other program. They are not the same. They do not pass the vibe check together. Do not try it. πŸ’€

⭐ SYNOPSIS ⭐

dnf debug-dump [--norepos] [<filename>]

dnf debug-restore [--output] [--install-latest] [--ignore-arch]
[--filter-types = [install,remove,replace]] <filename>

πŸ¦‹ ARGUMENTS πŸ¦‹

  • <filename> β€” File to write dump to or read from. That's the one. That's the file. πŸ“

πŸ”₯ OPTIONS πŸ”₯

All general DNF options are accepted, see Options in dnf(8) for details. (Yes, all of them. The whole squad is welcome. 🌈)

πŸ’œ dnf debug-dump

  • --norepos β€” Do not dump content of enabled repos. Like, skip the repos, keep it minimal, we love a low-effort queen πŸ™ˆ

πŸ’œ dnf debug-restore

  • --filter-types=[install,remove,replace] β€” Limit package changes to specified type. Pick your fighter, bestie πŸ₯Š
  • --ignore-arch β€” When installing package ignore architecture and install missing packages matching the name, epoch, version and release. Architecture? Never heard of her πŸ’…
  • --install-latest β€” When installing use the latest package of the same name and architecture. Fresh out the oven, periodt πŸ”₯
  • --output β€” Only output list of packages which will be installed or removed. No actual changes are done. It's a look, not a commitment β€” a total window-shopping moment πŸ›οΈ
  • --remove-installonly β€” Allow removal of install-only packages.
⚠️ bestie. Listen to me. Using --remove-installonly may result in an attempt to remove the running kernel version β€” specifically in situations when the currently running kernel version is not part of the dump file. That is your currently running kernel. The one you are using right now. Do not do this casually. This is not a drill, this is not a cute little experiment πŸ˜­πŸ’€

🌺 AUTHOR 🌺

See AUTHORS in your Core DNF Plugins distribution πŸ‘‘ (they ate, honestly)


2014, Red Hat, Licensed under GPLv2+ β€” slay, legally speaking πŸŽ€


and that's the whole page, bestie!! πŸ’– This was dnf-plugins-core version 4.10.1, dated Mar 28, 2025 β€” go forth and debug responsibly, mwah 🫢✨🌸

πŸ“¦ where this page comes from