yum update でエラー (php-mbstringが更新できず)

カテゴリー「エラー対応」の投稿について
YzITで実施したエラー対応の記録を共有するために公開しています。ブログで公開するために書かれた文章ではありませんので、ご了承ください。
------------------------------------

起票日:2020/6/13

エラー内容:yum updateでパッケージ内を更新する際、php-mbstringが更新できずアップデートが停止
原因:oniguruma5パッケージのパッケージ名変更

Error: Package: php-mbstring-7.3.15-1.el7.remi.x86_64 (@remi-php73)
Requires: libonig.so.5()(64bit)
Removing: oniguruma5-6.9.4-1.el7.remi.x86_64 (@remi-safe)
libonig.so.5()(64bit)
Obsoleted By: oniguruma5php-6.9.5+rev1-2.el7.remi.x86_64 (remi-safe)
~libonig.so.105()(64bit)
You could try using --skip-broken to work around the problem

対応: パッケージ: oniguruma5を削除後、php-mbstringをインストール

yum erase oniguruma5
yum install --enablerepo=remi-php73 php-mbstring

コメント