a821449400
2019-05-07 12:32
采纳率: 50%
浏览 5.4k

yum install mysql-community-server 安装mysql 报错求大神帮忙!!!!

[root@11 mysql]# yum install mysql-community-server

Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:8.0.16-1.el7 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 8.0.16-1.el7 for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: mysql-community-client(x86-64) >= 8.0.11 for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.7)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Running transaction check
---> Package mysql-community-client.x86_64 0:8.0.16-1.el7 will be installed
--> Processing Dependency: mysql-community-libs(x86-64) >= 8.0.11 for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
---> Package mysql-community-common.x86_64 0:8.0.16-1.el7 will be installed
---> Package mysql-community-server.x86_64 0:8.0.16-1.el7 will be installed
--> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.7)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Running transaction check
---> Package mysql-community-client.x86_64 0:8.0.16-1.el7 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64
---> Package mysql-community-libs.x86_64 0:8.0.16-1.el7 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-libs-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-libs-8.0.16-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-libs-8.0.16-1.el7.x86_64
---> Package mysql-community-server.x86_64 0:8.0.16-1.el7 will be installed
--> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.7)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.19)(64bit)
Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit)
Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: systemd
Error: Package: mysql-community-libs-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit)
Error: Package: mysql-community-libs-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(CXXABI_1.3.7)(64bit)
Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libsasl2.so.3()(64bit)
Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.19)(64bit)
Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit)
Error: Package: mysql-community-libs-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.17)(64bit)
Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
You could try using --skip-broken to work around the problem
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
2:postfix-2.6.6-8.el6.x86_64 has missing requires of libmysqlclient.so.16()(64bit)
2:postfix-2.6.6-8.el6.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit)
2:postfix-2.6.6-8.el6.x86_64 has missing requires of mysql-libs

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • 毕小宝 2019-05-07 13:52
    已采纳

    可能是 gcc 编译工具的问题,目标机器是虚拟机还是实体机呢,安装的时候选择开发工具了吗?
    参考看看这个:http://www.mamicode.com/info-detail-1663865.html

    打赏 评论
  • sscsdl 2020-04-20 21:17

    我昨天也出现了同样的错误,我的情况是在centos6安装了centos7的rpm,卸载centos7的rpm后还是出现这样的报错,解决办法:

    #找到已装的rpm包名
    rpm -qa|grep mysql
    #卸载
    rpm -e 包名
    #清缓存 关键!!
    yum clean all
    

    然后下载安装对应系统的rpm包就可以了

    打赏 评论

相关推荐 更多相似问题