DNF5-DISTRO-SYNC(8)

πŸ“¦
version 5.4.6.0 Β· 4 versions
, in fedora 44

🌈 DNF5-DISTRO-SYNC(8) β€” the dnf5-distro-sync glow-up 🌈

okay bestie, gather round, because this is the page for dnf5-distro-sync β€” aka the Distro-Sync Command, straight out of the dnf5 manual. no cap, this one's a banger. πŸ’…


✨ NAME ✨

dnf5-distro-sync β€” Distro-Sync Command πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

dnf5 distro-sync [options] [<package-spec-NPFB>...]

πŸ’– DESCRIPTION πŸ’–

so the distro-sync command in DNF5 is literally the vibe-synchronizer ✨ it takes your installed packages and syncs them up with their latest available version from any enabled repository. it upgrades, downgrades, or just… keeps packages as needed. no drama, just balance πŸ§˜β€β™€οΈ

and listen β€” if you don't wanna sync the whole entire world, you can pass optional <package-spec-NPFB> arguments to select only specific packages to be synced. main character energy, but make it targeted. 🎯


πŸ’… OPTIONS πŸ’…

  • --allowerasing β€” lowkey letting the command remove installed packages so any potential dependency problems get resolved. it's giving "we have to let some things go to grow" πŸ¦‹
  • --skip-broken β€” resolves any dependency problems by removing the packages that are causing problems from the transaction. messy packages? gone. periodt. πŸ’€
  • --skip-unavailable β€” allows skipping packages that it's just not possible to synchronize. all the remaining packages will be synchronized. we're not forcing anything here πŸ™ˆ
  • --installed-from-repo=REPO_ID,... β€” filters installed packages by the ID of the repository they were installed from. iykyk πŸ‘‘
  • --from-repo=REPO_ID,... β€” packages (or their provides) that you explicitly specified on the command line will only be looked up in the specified repositories. these repositories get automatically enabled. repo enabling and disabling still applies, and dependencies of these packages will be resolved from any enabled repository. so specific, so chic. ✨
  • --from-vendor=VENDOR,... β€” list of vendors separated by commas or spaces. globs are supported (e.g., --from-vendor='Fedora\ project, vendorA, vendorB*, vendorC'). packages (or their provides) explicitly specified on the command line will only be looked up from the specified vendors. the vendor change check is bypassed for these packages. the vendor is ignored, or vendor change policies (if allow_vendor_change=0) will still be used for packages that satisfy dependencies. vendor discourse but make it configurable. πŸ“
  • --downloadonly β€” downloads the resolved package set without executing an RPM transaction. window shopping, but for packages πŸ›οΈ
  • --offline β€” stores the transaction to be performed offline. see the offline command, dnf5-offline(8). πŸŒ™
  • --transient β€” applicable only on bootc (bootable containers) systems. performs transactions using a transient overlay which will be lost on the next reboot. see also the persistence configuration option. πŸ”₯
  • --store=PATH β€” stores the current transaction in a directory at the specified PATH instead of running it. the stored transaction can be performed by the replay command, dnf5-replay(8). note that repository ids in the stored transaction are mangled to @stored_transaction(repo_id) β€” this is required because during replaying the stored repositories are recreated and they might collide with already present repositories (this doesn't apply to the special @System repository). future-you says thanks. πŸŽ€

🌸 EXAMPLES 🌸

dnf5 distro-sync

Sync the whole system to the latest available version of packages. 🌈

dnf5 distro-sync vim

Sync the vim package to the latest available version. ⭐


🫢 SEE ALSO 🫢


πŸ‘‘ Author πŸ‘‘

See AUTHORS.md in the dnf5 source distribution.


Contributors to the dnf5 project.


okay that's the whole page, bestie, you ate that 🍽️✨ this was the dnf5 manual for dnf5-distro-sync, dated Sep 24, 2026 β€” go forth and sync, you absolute icon πŸ’…πŸ¦‹πŸ’–

πŸ“¦ where this page comes from