DNF-DEBUG(8)

πŸ“¦
version 4.3.1 Β· 2 versions
, in debian bookworm, ubuntu noble

✨ 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 the installonly_limit configuration option (go peek at dnf.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 🫢


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