DNF5.CONF-VENDORPOLICY(5)

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

πŸ’– dnf5.conf-vendorpolicy(5) β€” DNF5 Vendor Change Policy File Reference πŸ’–

okay bestie, welcome to section 5 of the dnf5 manual β€” this is the one about vendor change policy files, and honestly? it's giving "the bouncer at the club deciding which vendor is allowed in". let's go πŸŽ€


✨ NAME ✨

dnf5.conf-vendorpolicy β€” DNF5 Vendor Change Policy File Reference


🌸 DESCRIPTION 🌸

The vendor change policy configuration files define rules for allowed package vendor changes. they say which vendors (the outgoing ones) are allowed to change to which other vendors (the incoming ones). πŸ’…

Vendor matching happens during package replacement β€” that's upgrade / downgrade / reinstall β€” operations, and only when the allow_vendor_change <#allow-vendor-change-options-label> option is disabled. no cap, that's the trigger.

These configuration files use TOML format. periodt. πŸ¦‹


⭐ SUPPORTED VERSIONS ⭐

The vendor change policy configuration format supports three versions, bestie:

  • Version 1.2 β€” extends v1.1 with additional negated string comparators. see DNF5 Vendor Change Policy File Reference - v1.1 / v1.2 dnf5-vendor-change-policy-v1-1-label ✨
  • Version 1.1 β€” the enhanced version with flexible vendor mapping and package filtering. see DNF5 Vendor Change Policy File Reference - v1.1 / v1.2 dnf5-vendor-change-policy-v1-1-label πŸ’–
  • Version 1.0 β€” basic vendor mapping with strict rules. see DNF5 Vendor Change Policy File Reference - v1.0 dnf5-vendor-change-policy-v1-0-label πŸŽ€

Every configuration file must specify its version using the version field. mandatory, no skipping.

Note: πŸ’Œ Each newer version is fully backward compatible with all previous versions. Version 1.2 only adds new comparators over 1.1, and version 1.1 adds flexible vendor mapping and package filtering over 1.0. All valid configurations work with a newer version by simply changing the version field. Version 1.2 is the recommended format. πŸ‘‘

For detailed information about each version's syntax and features, please refer to the version-specific documentation:

  • DNF5 Vendor Change Policy File Reference - v1.1 / v1.2 dnf5-vendor-change-policy-v1-1-label 🌈
  • DNF5 Vendor Change Policy File Reference - v1.0 dnf5-vendor-change-policy-v1-0-label 🌸

🌼 CONFIGURATION FILE LOCATIONS 🌼

Vendor change policy files are read from these directories, in this order of importance:

  • /etc/dnf/vendors.d/ β€” System configuration directory 🏠
  • /usr/share/dnf5/vendors.d/ β€” Distribution configuration directory πŸ“¦

Only files with the .conf extension are considered, so don't get cute with other suffixes. πŸ™ˆ Configuration files are sorted alphanumerically by their filename and then read in this sorted order.

If a file with the same name exists in both directories, the file from /etc/dnf/vendors.d/ is used. which implies the distribution configuration file can be simply overridden by creating a file with the same name in the /etc/dnf/vendors.d/ directory. iconic override behaviour, honestly. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹


πŸ‘‘ Author

See AUTHORS.md in dnf5 source distribution.

Contributors to the dnf5 project.


and that's the whole page, bestie!! this one's from Sep 24, 2026, brought to you by the dnf5 manual squad β€” go configure your vendors responsibly πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from