dnf5.conf-vendorpolicy - Man Page

DNF5 Vendor Change Policy File Reference

Description

The vendor change policy configuration files define rules for allowed package vendor changes. They specify which vendors (outgoing) are allowed to change to which other vendors (incoming). Vendor matching is performed during package replacement (upgrade/downgrade/reinstall) operations when the allow_vendor_change <#allow-vendor-change-options-label> option is disabled.

The configuration files use TOML format.

Supported Versions

The vendor change policy configuration format supports two versions:

Each configuration file must specify its version using the version field.

Note:

Version 1.1 is the recommended format and is fully backward compatible with version 1.0. All valid 1.0 configurations work with 1.1 by simply changing the version field. Version 1.0 is maintained only for compatibility with existing configurations.

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

Configuration File Locations

Vendor change policy files are read from the following directories:

/etc/dnf/vendors.d/

System configuration directory

/usr/share/dnf5/vendors.d/

Distribution configuration directory

Only files with the .conf extension are considered. 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. This implies that the distribution configuration file can be simply overridden by creating a file with the same name in the /etc/dnf/vendors.d/ directory.

See Also

Author

See AUTHORS.md in dnf5 source distribution.

Referenced By

dnf5.conf(5).

The man page dnf.conf-vendorpolicy(5) is an alias of dnf5.conf-vendorpolicy(5).

Mar 02, 2026 dnf5