Get the App
SLTechnology News&Howtos  ›  Database  › 

How to solve the problem of conflicts with file from package error in MySQL

Shulou Source: shulou.com Published: 2022-05-31 13:57:35 09月28日 Update

This article mainly explains "how to solve the conflicts with file from package error problem of MySQL". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the conflicts with file from package error problem of MySQL".

When installing MySQL using rpm for a new project, an error was reported:

[root@zhanglin] # rpm-ivh MySQL-server-5.6.19-1.el6.x86_64.rpm

Preparing... # [100%]

File / usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.6.19-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64

File / usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.6.19-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64

File / usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-5.6.19-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64

File / usr/share/mysql/english/errmsg.sys from install of MySQL-server-5.6.19-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64

File / usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-5.6.19-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64

1. Check to see if MySQL is installed

[root@zhanglin ~] # rpm-aq | grep mysql

Mysql-libs-5.1.61-4.el6.x86_64

2. Delete what comes with the system.

Mysql-libs-5.1.61-4.el6.x86_64 library (this is included with linux and checked when installing the system), so you need to delete the previous library before you can install it!

Execute the command:

[root@zhanglin ~] # rpm-e mysql-libs-5.1.61-4.el6.x86_64-may not be deleted because some dependent packages

[root@zhanglin ~] # rpm-e mysql-libs-5.1.61-4.el6.x86_64-- nodeps-force uninstall!

3. Check again whether to delete it. If you delete it, you can install rpm.

Thank you for your reading, the above is the content of "how to solve the conflicts with file from package error problem of MySQL". After the study of this article, I believe you have a deeper understanding of how to solve the problem of conflicts with file from package error of MySQL, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Questions learning content time system again command that is ideas situations articles new projects more knowledge knowledge points articles follow this is practice compulsion Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Xiaomi Redmi OPPO Reno Microsoft