程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> MYSQL數據庫 >> MySQL綜合教程 >> Linux 卸載mysql-libs包出現錯誤,linuxmysql-libs

Linux 卸載mysql-libs包出現錯誤,linuxmysql-libs

編輯:MySQL綜合教程

Linux 卸載mysql-libs包出現錯誤,linuxmysql-libs


在Red Hat Enterprise Linux6.6上安裝MySQL時,出現與package mysql-libs-5.1.73-3.el6_5.x86_64沖突的情況

[root@localhost tmp]# rpm -ivh MySQL-server-advanced-5.6.20-1.rhel5.x86_64.rpm
Preparing...                ########################################### [100%]
        file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-advanced-5.6.20-1.rhel5.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_64
        file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-advanced-5.6.20-1.rhel5.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_64
        file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-advanced-5.6.20-1.rhel5.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_64
     ..............................................................................

在安裝之前檢查發現已經有了mysql-libs包,但是並沒有卸載該包,既然沖突了,就必須要卸載mysql-libs-5.1.73-3.el6_5.x86_64包,卸載過程中出現error: Failed dependencies,依賴性的問題。 使用參數--nodeps刪除了該組件

[root@localhost tmp]# rpm -qa | grep -i mysql
mysql-libs-5.1.73-3.el6_5.x86_64
 
[root@localhost tmp]# rpm -ev mysql-libs-5.1.73-3.el6_5.x86_64  
error: Failed dependencies:
        libmysqlclient.so.16()(64bit) is needed by (installed) postfix-2:2.6.6-6.el6_5.x86_64
        libmysqlclient.so.16(libmysqlclient_16)(64bit) is needed by (installed) postfix-2:2.6.6-6.el6_5.x86_64
        mysql-libs is needed by (installed) postfix-2:2.6.6-6.el6_5.x86_64
[root@localhost tmp]# rpm -ev mysql-libs-5.1.73-3.el6_5.x86_64   --nodeps
[root@localhost tmp]#

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved