質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

Q&A

解決済

1回答

1480閲覧

mysqldインストールエラー

ttoo

総合スコア126

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

0グッド

1クリップ

投稿2020/01/07 15:01

編集2020/01/07 15:05

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

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

yum install --skip-broken は途中で失敗が有っても止めないで最後までやってみてくれというoptionです。足りないパッケージがるので、それをインストールしないと mysqlはインストールできません。
Requires: systemd
Requires: libsasl2.so.3()(64bit)
の二つを要求していますのでまずこれのインストールを。

投稿2020/01/08 00:36

winterboum

総合スコア23284

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問