TOP › Forums › インストール(Installing KUSANAGI) › yum update kusanagi -y コマンドでエラーとなります。
Tagged: kusanagi
- This topic has 3 replies, 2 voices, and was last updated 3 years, 8 months ago by
cloudy.
-
AuthorPosts
-
-
2023年1月27日 at 13:21 #1163
sakura vpsのkusanagi8をインストールし、WordPressを公開しようとしています。
https://kusanagi.tokyo/document/kusanagi-init/
上記の手順通り yum update kusanagi -y コマンドを実行すると下記のエラーでストップしてしまうのですが、
どう対処すればよいでしょうか。One of the configured repositories failed (MariaDB), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo=mariadb ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable mariadb or subscription-manager repos --disable=mariadb -
2023年1月27日 at 19:28 #1164
phper さん、こんにちは。
トップページにある通り、FAQ をお読みください。
Q5. yum のアップデートを実行すると、エラーが出力されてアップデートできません。
また、トップページにある通り、同じような質問に対する回答がないかご確認ください。
MariaDBのアップデートができない(10.1→10.5)
-
2023年1月27日 at 21:31 #1165
FAQは読みました、
貼っていただいた記事にも目を通してすでに実行済みですが、改善されません。
モジュールのアップデートが必須であればマニュアルを修正してほしいところですが..試した内容は下記です。
①
yum clean all
yum update kusanagi –disablerepo=mariadb②
yum update –enablerepo=remi,remi-php56 –disablerepo=mariadb
yum update –enablerepo=remi,remi-php56③
yum update kusanagi
yum update –enablerepo=remi,remi-php56②の後、サーバを再起動し、yum clean allをした後③を実行しました。
-
2023年1月30日 at 09:08 #1166
phper さん、こんにちは。
トップページにある通り、kusanagi status の結果をいただけませんか?
また、コマンドを実行して、どの段階でどのようなエラーがでたのか具体的に記載してください。
モジュールのアップデートは必須ではありません。強引な予想ですが、MariaDB 10.1 のままでエラーになっているだけかと思います。
> # MariaDB をアップグレード
# MariaDB をアップグレードをしないと、yum update でエラーは出続けます。
kusanagi upgrade mariadb 10.5ここに書いてありますが、読まれましたか?
—
あと、気になる点としては新規でサーバーを立てたのですか?
それであれば、KUSANAGI 9 をおすすめいたします。
-
-
AuthorPosts
- You must be logged in to reply to this topic.