DNF5-DISTRO-SYNC(8)
π 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 (ifallow_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 thepersistenceconfiguration option. π₯--store=PATHβ stores the current transaction in a directory at the specifiedPATHinstead of running it. the stored transaction can be performed by thereplaycommand,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@Systemrepository). 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 π«Ά
dnf5-specs(7), Patterns specification
π Author π
See AUTHORS.md in the dnf5 source distribution.
π Copyright π
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
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· GPL-2.0-or-later
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· 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