YUM-DEBUG-RESTORE(1)

πŸ’… NAME

yum-debug-restore β€” bestie, it's literally just redirecting you to the DNF debug Plugin ✨


πŸ¦‹ DESCRIPTION

Okay so this plugin gives you two whole dnf commands and honestly? They're kind of iconic πŸ‘‘

  • debug-dump β€” writes your system RPM configuration to a dump file πŸ’Ύ
  • debug-restore β€” restores the installed packages to the versions written in the dump file πŸ”„

So here's the vibe with debug-restore: 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 you can fine-tune it with the installonly_limit configuration option (peep dnf.conf(5) for that one) πŸŽ€

⚠️ NOTE: DNF and Yum debug files are not compatible, so they literally can't be used by the other program πŸ’€ no cap, don't try it

🌸 SYNOPSIS

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

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

πŸŽ€ ARGUMENTS

  • <filename> β€” the file to write the dump to or read from, iykyk πŸ—‚οΈ

✨ OPTIONS ✨

All general DNF options are accepted, see Options in dnf(8) for details 🫢

🧚 dnf debug-dump

  • --norepos β€” do NOT dump the content of enabled repos πŸ™ˆ

πŸ’œ dnf debug-restore

  • --filter-types=[install,remove,replace] β€” limit package changes to the specified type, like, only that one bestie 🎯
  • --ignore-arch β€” when installing a package, ignore 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 ⭐
  • --output β€” only output the list of packages which will be installed or removed, no actual changes are done πŸ‘€ (yes, "actuall" in the original, we don't gatekeep typos πŸ’€)
  • --remove-installonly β€” allow removal of install-only packages 🫢
⚠️ Careful bestie: 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's not a vibe. Be careful.

🌈 AUTHOR

See AUTHORS in your Core DNF Plugins distribution 🌸


2014, Red Hat, Licensed under GPLv2+ πŸŽ€


and that's the whole page, bestie β€” brought to you by dnf-plugins-core version 4.10.1, dated Mar 28, 2025, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from