1. 程式人生 > >conflicts with file from package mariadb-libs

conflicts with file from package mariadb-libs

sql sys sta cts iad adb war unit maria

阿裏雲上安裝RHEL 7.2 安裝MySQL 報錯
近期有越來越多的客戶在生產環境下部署MySQL/MariaDB,大家對開源數據庫也是越來有信心了。

# rpm -ivh mysql-community-common-*.el6.x86_64.rpm
warning: mysql-community-common-5.7.19-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing...                          ################################# [100%]
    file /usr/share/mysql/czech/errmsg.sys from install of mysql-community-common-5.7.19-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.52-1.el7.x86_64
    file /usr/share/mysql/danish/errmsg.sys from install of mysql-community-common-5.7.19-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.52-1.el7.x86_64
    file /usr/share/mysql/dutch/errmsg.sys from install of mysql-community-common-5.7.19-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.52-1.el7.x86_64
    file /usr/share/mysql/english/errmsg.sys from install of mysql-community-common-5.7.19-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.52-1.el7.x86_64
    file 

    解決方法:
    #rpm -e mariadb-libs-1:5.5.52-1.el7.x86_64 --nodeps 

conflicts with file from package mariadb-libs