centos mysql 依赖_一个关于CentOS中,依赖包的问题(MySql相关)

一台装有CentOS服务器如下:[root@user ~]# lsb_release -aLSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarchDistributor ID: CentOSDescription:    CentOS release 5.6 (Final)Release:        5.6Codename:       Final装机时安装了MySQL-server-5.5.16-1.rhel5.x86_64.rpm 如下:[root@user ~]#  rpm -qa | grep -i mysqlMySQL-server-5.5.16-1.rhel5MySQL-client-5.5.16-1.rhel5MySQL-devel-5.5.16-1.rhel5后来,发现装许多别的软件(比如postfix dovecot)时,会依赖一个mysql-libs的东西,例如:……Installing for dependencies:mysql-libs         x86_64         5.0.92-1.el5           CentALT         1.8 M……但这玩意又总是装不上,提示有一大堆冲突:file /etc/my.cnf from install of mysql-libs-5.0.92-1.el5.x86_64 conflicts with file from package MySQL-server-5.5.16-1.rhel5.x86_64file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.0.92-1.el5.x86_64 conflicts with file from package MySQL-server-5.5.16-1.rhel5.x86_64file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.0.92-1.el5.x86_64 conflicts with file from package MySQL-server-5.5.16-1.rhel5.x86_64……

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
mysql官网上下载mysql-server_5.7.21-1ubuntu14.04_amd64.deb-bundle.tar,然后进行离线安装,解压该安装,会出现11个依赖,按照顺序依次使用sudo dpkg -i 进行安装,间会报错,显示缺少相应的依赖,具体如下: *******@ubuntu:/opt/mysql$ sudo dpkg -i mysql-community-client_5.7.21-1ubuntu14.04_amd64.deb Selecting previously unselected package mysql-community-client. (Reading database ... 208518 files and directories currently installed.) Preparing to unpack mysql-community-client_5.7.21-1ubuntu14.04_amd64.deb ... Unpacking mysql-community-client (5.7.21-1ubuntu14.04) ... dpkg: dependency problems prevent configuration of mysql-community-client: mysql-community-client depends on libaio1 (>= 0.3.93); however: Package libaio1 is not installed. dpkg: error processing package mysql-community-client (--install): dependency problems - leaving unconfigured Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Errors were encountered while processing: mysql-community-client 和 ********@ubuntu:/opt/mysql$ sudo dpkg -i mysql-community-server_5.7.21-1ubuntu14.04_amd64.deb Selecting previously unselected package mysql-community-server. (Reading database ... 208598 files and directories currently installed.) Preparing to unpack mysql-community-server_5.7.21-1ubuntu14.04_amd64.deb ... Unpacking mysql-community-server (5.7.21-1ubuntu14.04) ... dpkg: dependency problems prevent configuration of mysql-community-server: mysql-community-server depends on libmecab2 (>= 0.996-1.1); however: Package libmecab2 is not installed. dpkg: error processing package mysql-community-server (--install): dependency problems - leaving unconfigured Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... ureadahead will be reprofiled on next reboot Errors were encountered while processing: mysql-community-server 附上依赖安装顺序: 1.mysql-common_5.7.21-1ubuntu14.04_amd64.deb 2.libmysqlclient20_5.7.21-1ubuntu14.04_amd64.deb 3.libmysqlclient-dev_5.7.21-1ubuntu14.04_amd64.deb 4.libmysqld-dev_5.7.21-1ubuntu14.04_amd64.deb
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值