Updated on 2025-09-19 GMT+08:00

FAQ

  1. When yum, dnf, or osmt is used for installation or upgrade, an error message " package <a> conflicts with <b> provided by <c>" is displayed.
    Figure 1 Error message

    Cause: Two software packages with the same function are installed in the system. The two software packages conflict with each other. For example, the MySQL and MariaDB software packages conflict with each other.

    Solution: Run rpm -e/ yum remove/ dnf remove to delete one of the software packages and retain only the required one.

  2. When yum, dnf, or osmt is used for installation or upgrade, an error message "file <x> from install of <y> conflicts with file from <z>" is displayed.
    Figure 2 Error message

    Cause: Two software packages contain files with the same path. For example, both the mysql-config and mariadb-config packages contain the /etc/my.cnf file.

    Solution: Run rpm -e/ yum remove/ dnf remove to delete one of the software packages and retain only the required one.