.\" Man page generated from reStructuredText .\" by the Docutils 0.22.4 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DNF5.CONF-VENDORPOLICY" "5" "May 23, 2026" "" "dnf5" .SH NAME dnf5.conf-vendorpolicy \- DNF5 Vendor Change Policy File Reference .SH DESCRIPTION .sp 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. .sp The configuration files use \fBTOML format\fP\&. .SH SUPPORTED VERSIONS .sp The vendor change policy configuration format supports two versions: .INDENT 0.0 .IP \(bu 2 \fBVersion 1.1\fP \- Enhanced version with flexible vendor mapping and package filtering. See DNF5 Vendor Change Policy File Reference \- v1.1 \%<#\:dnf5-vendor-change-policy-v1-1-label> .IP \(bu 2 \fBVersion 1.0\fP \- Basic vendor mapping with strict rules. See DNF5 Vendor Change Policy File Reference \- v1.0 \%<#\:dnf5-vendor-change-policy-v1-0-label> .UNINDENT .sp Each configuration file must specify its version using the \fBversion\fP field. .sp \fBNote:\fP .INDENT 0.0 .INDENT 3.5 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. .UNINDENT .UNINDENT .sp For detailed information about each version\(aqs syntax and features, please refer to the version\-specific documentation: .INDENT 0.0 .IP \(bu 2 DNF5 Vendor Change Policy File Reference \- v1.1 \%<#\:dnf5-vendor-change-policy-v1-1-label> .IP \(bu 2 DNF5 Vendor Change Policy File Reference \- v1.0 \%<#\:dnf5-vendor-change-policy-v1-0-label> .UNINDENT .SH CONFIGURATION FILE LOCATIONS .sp Vendor change policy files are read from the following directories: .INDENT 0.0 .TP .B \fB/etc/dnf/vendors.d/\fP System configuration directory .TP .B \fB/usr/share/dnf5/vendors.d/\fP Distribution configuration directory .UNINDENT .sp Only files with the \fB\&.conf\fP extension are considered. Configuration files are sorted alphanumerically by their filename and then read in this sorted order. .sp If a file with the same name exists in both directories, the file from \fB/etc/dnf/vendors.d/\fP is used. This implies that the distribution configuration file can be simply overridden by creating a file with the same name in the \fB/etc/dnf/vendors.d/\fP directory. .SH SEE ALSO .INDENT 0.0 .IP \(bu 2 \fBdnf5.conf\-vendorpolicy\-v1_1(5)\fP, DNF5 Vendor Change Policy File Reference \- v1.1 \%<#\:dnf5-vendor-change-policy-v1-1-label> .IP \(bu 2 \fBdnf5.conf\-vendorpolicy\-v1_0(5)\fP, DNF5 Vendor Change Policy File Reference \- v1.0 \%<#\:dnf5-vendor-change-policy-v1-0-label> .IP \(bu 2 \fBdnf5.conf(5)\fP, DNF5 Configuration Reference \%<#\:dnf5-conf-label> .UNINDENT .SH Author See AUTHORS.md in dnf5 source distribution. .SH Copyright Contributors to the dnf5 project. .\" End of generated man page.