需要:libc.so.6(GLIBC_2.17)(64位) MySql 失败

需要:libc.so.6(GLIBC_2.17)(64位) MySql 失败

我正在尝试安装,MySql 5.6Centos 2.6.32-220.17.1.el6.x86_64 收到此错误消息。

 [root@Confluence-Host ~]# yum install mysql-server
 Loaded plugins: fastestmirror, security
 Loading mirror speeds from cached hostfile
  * base: mirror.intergrid.com.au
  * epel: mirror.intergrid.com.au
  * extras: mirror.ventraip.net.au
  * updates: centos.melbourneitmirror.net
 Setting up Install Process
 Package mysql-server is obsoleted by mysql-community-server, trying to install mysql-community-server-5.6.40-2.el7.x86_64 instead
 Resolving Dependencies
 --> Running transaction check
 ---> Package mysql-community-server.x86_64 0:5.6.40-2.el7 will be installed
 --> Processing Dependency: mysql-community-common(x86-64) = 5.6.40-2.el7 for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: mysql-community-client(x86-64) >= 5.6.10 for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: systemd for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: systemd for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Running transaction check
 ---> Package mysql-community-client.x86_64 0:5.6.40-2.el7 will be installed
 --> Processing Dependency: mysql-community-libs(x86-64) >= 5.6.10 for package: mysql-community-client-5.6.40-2.el7.x86_64
 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-client-5.6.40-2.el7.x86_64
 ---> Package mysql-community-common.x86_64 0:5.6.40-2.el7 will be installed
 ---> Package mysql-community-server.x86_64 0:5.6.40-2.el7 will be installed
 --> Processing Dependency: systemd for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: systemd for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Running transaction check
 ---> Package mysql-community-client.x86_64 0:5.6.40-2.el7 will be installed
 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-client-5.6.40-2.el7.x86_64
 ---> Package mysql-community-libs.x86_64 0:5.6.40-2.el7 will be installed
 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-libs-5.6.40-2.el7.x86_64
 ---> Package mysql-community-server.x86_64 0:5.6.40-2.el7 will be installed
 --> Processing Dependency: systemd for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: systemd for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-5.6.40-2.el7.x86_64
 --> Finished Dependency Resolution
 Error: Package: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)
        Requires: libc.so.6(GLIBC_2.17)(64bit)
 Error: Package: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)
   Requires: systemd
 Error: Package: mysql-community-libs-5.6.40-2.el7.x86_64 (mysql56-community)
   Requires: libc.so.6(GLIBC_2.17)(64bit)
 Error: Package: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)
   Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
 Error: Package: mysql-community-client-5.6.40-2.el7.x86_64 (mysql56-community)
   Requires: libc.so.6(GLIBC_2.17)(64bit)
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest

答案1

看起来您已经安装了 CentOS 7 的 EPEL 存储库,但您正在运行 CentOS 6。

从 中删除epel-release包和/或 EPEL 存储库文件/etc/yum.repos.d,然后使用正确的包重试。

相关内容