DNF-DEBUG(8)
β¨ DNF-DEBUG(8) β¨
okay bestie, so this is the dnf-debug page, and it lives in the dnf-plugins-core fam π pull up a chair, we're doing RPM debugging but make it cute.
πΈ NAME πΈ
dnf-debug β the DNF debug Plugin. that's it, that's the name, she's simple and she's iconic π
π¦ DESCRIPTION π¦
bestie, this plugin hands you two dnf commands and honestly? both of them ate.
debug-dumpβ writes your system RPM configuration to a dump file. like, it takes a lil snapshot of your whole rpm situation πΈdebug-restoreβ restores the installed packages to the versions that were written in the dump file. and here's the tea: by default, it does not remove already-installed versions of install-only packages, and it only marks the versions mentioned in the dump file for installation. the final decision about which versions stay on your system is left to dnf itself, and you can fine-tune that whole situation with theinstallonly_limitconfiguration option (go peek atdnf.conf(5)for the deets, iykyk).
β οΈ NOTE: DNF and Yum debug files are not compatible, so they literally cannot be used by the other program. no cap. don't try to cross them, it's giving chaos π
π SYNOPSIS π
dnf debug-dump [--norepos] [<filename>]
dnf debug-restore [--output] [--install-latest] [--ignore-arch]
[--filter-types = [install,remove,replace]] <filename>
π ARGUMENTS π
<filename>β the file you're writing the dump to, or reading it from. it's the whole point, the main character honestly π
π OPTIONS π
just so you know: all general DNF options are accepted, so go check out Options in dnf(8) for the full menu, bestie π«Ά
dnf debug-dump
--noreposβ do not dump the content of enabled repos. we're keeping it minimal, we're being mysterious β¨
dnf debug-restore
--filter-types=[install,remove,replace]β limits package changes to the specified type. only the type you picked, nothing else, boundaries are healthy π--ignore-archβ when installing, ignore the architecture and install missing packages matching the name, epoch, version and release. arch? never heard of her π--install-latestβ when installing, use the latest package of the same name and architecture. always the freshest one, we love an upgrade queen πΈ--outputβ only outputs the list of packages which will be installed or removed. no actual changes are done. it's a look, not a touch π--remove-installonlyβ allows removal of install-only packages. and bestie, listen: using this option may result in an attempt to remove the running kernel version (in situations when the currently running kernel version is not part of the dump file). that is not a vibe, that's a whole crisis, be careful π
π AUTHOR π
see AUTHORS in your Core DNF Plugins distribution π«Ά
β COPYRIGHT β
2023, Red Hat, Licensed under GPLv2+ π
and that's the whole page, bestie!! you understood all of it, I'm so proud, you're literally the main character of package management π β¨
version 4.3.1, dated Jan 22, 2023 β from your girl dnf-plugins-core, signing off ππ
π¦ where this page comes from
- debian bookworm: dnf-plugins-core 4.3.1-3 Β· GPL-2.0-or-later
- ubuntu noble: dnf-plugins-core 4.3.1-3 Β· 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