DNF4-DEBUG(8)

✨ NAME ✨

ok so this is dnf4-debug β€” the DNF debug Plugin, and it lives in dnf-plugins-core (section 8 of the manual, bestie, we're in admin-tools territory πŸ’…)


🫢 DESCRIPTION 🫢

This plugin hands you two whole dnf commands, and honestly? iconic of it.

  • debug-dump β€” writes your system RPM configuration out to a dump file. like, receipts. πŸ“
  • debug-restore β€” restores the installed packages back to the versions that were written in the dump file. 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 and can be fine-tuned using the installonly_limit configuration option (see dnf.conf(5)). so like, dnf is the main character here and installonly_limit is how you tell it what to do 😌
⚠️ Note: DNF and Yum debug files are not compatible, so they literally cannot be used by the other program. fr fr. no crossover episodes. πŸ™ˆ

🌈 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 write the dump to, or read from. one file, two moods, slay. ✨

πŸ’– OPTIONS πŸ’–

All general DNF options are accepted, see Options in dnf(8) for details. (yes, every single general one, go look, i'll wait 🫢)

🌸 dnf debug-dump

  • --norepos β€” do not dump the content of enabled repos. keep that stuff to yourself, periodt.

πŸ¦‹ dnf debug-restore

  • --filter-types=[install,remove,replace] β€” limit package changes to the specified type. only the vibes you asked for.
  • --ignore-arch β€” when installing, ignore the architecture and install missing packages matching the name, epoch, version and release. architecture who? never heard of her πŸ’…
  • --install-latest β€” when installing, use the latest package of the same name and architecture. newest is the moment.
  • --output β€” only output the list of packages which will be installed or removed. no actual changes are done. window shopping only, bestie πŸ›οΈ
  • --remove-installonly β€” allow removal of install-only packages. ⚠️ using this option 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. so like... yeah. that's a whole thing. be careful, i'm not joking πŸ˜­πŸ’€

πŸ‘‘ Author πŸ‘‘

See AUTHORS in your Core DNF Plugins distribution 🫑

2014, Red Hat, Licensed under GPLv2+


and that's the whole page, bestie!! this was version 4.10.1 dated Sep 27, 2025, so if your manpage is older than that... update it fr. mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from