mySQLサーバーをリポジトリからインストールしようとしましたインストールされたリポジトリ
wget https://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm
Sudo rpm -ivh mysql57-community-release-el7-8.noarch.rpm
yum update
後
yum install mysql-community-server
返されたエラー
Error: Package: mysql-community-server-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: mysql-community-client-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-server-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: mysql-community-client-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: mysql-community-server-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libsasl2.so.3()(64bit)
Error: Package: mysql-community-server-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: systemd
この問題を解決するには?
OSバージョン:
Linux dbmysql01 4.1.12-103.3.8.el6uek.x86_64 #2 SMP Mon Aug 21 17:27:50 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
トマスによる試練版
yum remove mysql57-community-release.noarch
yum install https://dev.mysql.com/get/mysql57-community-release-el6-11.noarch.rpm
yum install mysql-community-server
返された結果
Loaded plugins: security, ulninfo
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.7.19-1.el7 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 5.7.19-1.el7 for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: mysql-community-client(x86-64) >= 5.7.9 for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libnuma.so.1(libnuma_1.2)(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libnuma.so.1(libnuma_1.1)(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libnuma.so.1()(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libaio.so.1()(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Running transaction check
---> Package libaio.x86_64 0:0.3.107-10.el6 will be installed
---> Package mysql.x86_64 0:5.1.73-8.0.1.el6_8 will be obsoleted
---> Package mysql-community-client.x86_64 0:5.7.19-1.el7 will be obsoleting
--> Processing Dependency: mysql-community-libs(x86-64) >= 5.7.9 for package: mysql-community-client-5.7.19-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-client-5.7.19-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-client-5.7.19-1.el7.x86_64
---> Package mysql-community-common.x86_64 0:5.7.19-1.el7 will be installed
---> Package mysql-community-server.x86_64 0:5.7.19-1.el7 will be installed
--> Processing Dependency: systemd for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
---> Package numactl.x86_64 0:2.0.9-2.el6 will be installed
--> Running transaction check
---> Package mysql-community-client.x86_64 0:5.7.19-1.el7 will be obsoleting
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-client-5.7.19-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-client-5.7.19-1.el7.x86_64
---> Package mysql-community-libs.x86_64 0:5.7.19-1.el7 will be obsoleting
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-libs-5.7.19-1.el7.x86_64
---> Package mysql-community-server.x86_64 0:5.7.19-1.el7 will be installed
--> Processing Dependency: systemd for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
--> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-5.7.19-1.el7.x86_64
---> Package mysql-libs.x86_64 0:5.1.73-8.0.1.el6_8 will be obsoleted
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: Perl-DBD-MySQL-4.013-3.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: Perl-DBD-MySQL-4.013-3.el6.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-community-server-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: mysql-community-client-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: mysql-community-server-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: Perl-DBD-MySQL-4.013-3.el6.x86_64 (@public_ol6_latest)
Requires: libmysqlclient.so.16()(64bit)
Removing: mysql-libs-5.1.73-8.0.1.el6_8.x86_64 (@public_ol6_latest)
libmysqlclient.so.16()(64bit)
Obsoleted By: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-community)
Not found
Available: mysql-libs-5.1.47-4.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.52-1.el6_0.1.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.61-1.el6_2.1.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.61-4.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.66-1.el6_3.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.66-2.el6_3.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.67-1.el6_3.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.69-1.el6_4.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.71-1.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.73-3.el6_5.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.73-5.el6_6.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.73-5.el6_7.1.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.73-7.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16()(64bit)
Error: Package: mysql-community-client-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: Perl-DBD-MySQL-4.013-3.el6.x86_64 (@public_ol6_latest)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Removing: mysql-libs-5.1.73-8.0.1.el6_8.x86_64 (@public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Obsoleted By: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-community)
Not found
Available: mysql-libs-5.1.47-4.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.52-1.el6_0.1.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.61-1.el6_2.1.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.61-4.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.66-1.el6_3.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.66-2.el6_3.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.67-1.el6_3.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.69-1.el6_4.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.71-1.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.73-3.el6_5.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.73-5.el6_6.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.73-5.el6_7.1.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.73-7.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Error: Package: mysql-community-server-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libsasl2.so.3()(64bit)
Error: Package: mysql-community-server-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: systemd
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
他のバリアントを試しました
yum remove mysql57-community-release.noarch
yum clean all
yum install https://dev.mysql.com/get/mysql57-community-release-el6-11.noarch.rpm
yum install mysql-community-server
再びエラーを返しました
Error: Package: mysql-community-client-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: Perl-DBD-MySQL-4.013-3.el6.x86_64 (@public_ol6_latest)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Removing: mysql-libs-5.1.73-8.0.1.el6_8.x86_64 (@public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Obsoleted By: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-community)
Not found
Available: mysql-libs-5.1.47-4.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.52-1.el6_0.1.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.61-1.el6_2.1.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.61-4.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.66-1.el6_3.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.66-2.el6_3.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.67-1.el6_3.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.69-1.el6_4.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.71-1.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.73-3.el6_5.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.73-5.el6_6.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.73-5.el6_7.1.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.73-7.el6.x86_64 (public_ol6_latest)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Error: Package: mysql-community-server-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libsasl2.so.3()(64bit)
Error: Package: mysql-community-server-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: systemd
投稿したカーネルバージョンから、Oracle Linux 6を実行しているようです。今試したように、バージョン7ではなくRed Hat Enterprise Linux 6/Oracle Linux 6バージョンをダウンロードする必要があります。
したがって、次のコマンドが機能するはずです。
yum remove mysql57-community-release.noarch
yum clean all
yum install https://dev.mysql.com/get/mysql57-community-release-el6-11.noarch.rpm
yum install mysql-community-server