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)
π§ COPYRIGHT π§
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
- 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