OSはAmazon Linux AMI release 2018.03になります。
https://qiita.com/yut-nagase/items/780d68a15b05c50c0a42
上記リンクより、mysqldをインストールを行ったところ、下記ログより、エラーとなってしまいました。
こちらはどのように対応すればよろしいでしょうか?
yum install --skip-broken mysql-community-server
など実行してみましたがいまいち対応が分からない状態であります。
また、
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
上記二つはどのような意味でしょうか?
よろしくお願い致します。
[root@ip-172-16-38-207 SageMaker]# rpm -ivh http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm Retrieving http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm warning: /var/tmp/rpm-tmp.k4LXvs: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY Preparing... ################################# [100%] Updating / installing... 1:mysql57-community-release-el7-8 ################################# [100%] [root@ip-172-16-38-207 SageMaker]# [root@ip-172-16-38-207 SageMaker]# yum install mysql-community-server Loaded plugins: dkms-build-requires, priorities, update-motd, upgrade-helper, versionlock 29 packages excluded due to repository priority protections Resolving Dependencies --> Running transaction check ---> Package mysql-community-server.x86_64 0:5.7.28-1.el7 will be installed --> Processing Dependency: mysql-community-common(x86-64) = 5.7.28-1.el7 for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: mysql-community-client(x86-64) >= 5.7.9 for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Running transaction check ---> Package mysql-community-client.x86_64 0:5.7.28-1.el7 will be installed --> Processing Dependency: mysql-community-libs(x86-64) >= 5.7.9 for package: mysql-community-client-5.7.28-1.el7.x86_64 ---> Package mysql-community-common.x86_64 0:5.7.28-1.el7 will be installed ---> Package mysql-community-server.x86_64 0:5.7.28-1.el7 will be installed --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Running transaction check ---> Package mysql-community-libs.x86_64 0:5.7.28-1.el7 will be installed ---> Package mysql-community-server.x86_64 0:5.7.28-1.el7 will be installed --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Finished Dependency Resolution Error: Package: mysql-community-server-5.7.28-1.el7.x86_64 (mysql57-community) Requires: systemd Error: Package: mysql-community-server-5.7.28-1.el7.x86_64 (mysql57-community) Requires: libsasl2.so.3()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [root@ip-172-16-38-207 SageMaker]# [root@ip-172-16-38-207 SageMaker]# yum install --skip-broken mysql-community-server Loaded plugins: dkms-build-requires, priorities, update-motd, upgrade-helper, versionlock 29 packages excluded due to repository priority protections Resolving Dependencies --> Running transaction check ---> Package mysql-community-server.x86_64 0:5.7.28-1.el7 will be installed --> Processing Dependency: mysql-community-common(x86-64) = 5.7.28-1.el7 for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: mysql-community-client(x86-64) >= 5.7.9 for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Running transaction check ---> Package mysql-community-client.x86_64 0:5.7.28-1.el7 will be installed --> Processing Dependency: mysql-community-libs(x86-64) >= 5.7.9 for package: mysql-community-client-5.7.28-1.el7.x86_64 ---> Package mysql-community-common.x86_64 0:5.7.28-1.el7 will be installed ---> Package mysql-community-server.x86_64 0:5.7.28-1.el7 will be installed --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Running transaction check ---> Package mysql-community-libs.x86_64 0:5.7.28-1.el7 will be installed ---> Package mysql-community-server.x86_64 0:5.7.28-1.el7 will be installed --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-5.7.28-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-5.7.28-1.el7.x86_64 Packages skipped because of dependency problems: mysql-community-client-5.7.28-1.el7.x86_64 from mysql57-community mysql-community-common-5.7.28-1.el7.x86_64 from mysql57-community mysql-community-libs-5.7.28-1.el7.x86_64 from mysql57-community mysql-community-server-5.7.28-1.el7.x86_64 from mysql57-community [root@ip-172-16-38-207 SageMaker]# [root@ip-172-16-38-207 SageMaker]# mysqld --version -bash: mysqld: command not found

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。