linux安装mysql依赖包问题

当linux安装mysql 时出现如下异常时:

 error: Failed dependencies:
        libgcc_s.so.1 is needed by MySQL-client-5.6.22-1.el6.i686
        libgcc_s.so.1(GCC_3.0) is needed by MySQL-client-5.6.22-1.el6.i686
        libgcc_s.so.1(GLIBC_2.0) is needed by MySQL-client-5.6.22-1.el6.i686
        libncurses.so.5 is needed by MySQL-client-5.6.22-1.el6.i686
        libstdc++.so.6 is needed by MySQL-client-5.6.22-1.el6.i686
        libstdc++.so.6(CXXABI_1.3) is needed by MySQL-client-5.6.22-1.el6.i686
        libstdc++.so.6(GLIBCXX_3.4) is needed by MySQL-client-5.6.22-1.el6.i686
        libtinfo.so.5 is needed by MySQL-client-5.6.22-1.el6.i686

毫无疑问,肯定是依赖的问题 怎么解决呢?


[root@VM_55_2_centos mysql]#  rpm -ivh MySQL-server-5.5.31-2.el6.i686.rpm --nodeps --force
Preparing...                ########################################### [100%]
   1:MySQL-server           ########################################### [100%]

 

加上那两个参数的意义就在于,
安装时不再分析包之间的依赖关系而直接安装,
也就不会再提示error: Failed dependencies:这样的错误了

你可能感兴趣的:(linux)