php7.1.28

php7.1.28

がでていたのでyumでupdate。いつものようにyum updateするとこんなエラーが発生。

--> 依存性解決を終了しました。
エラー: パッケージ: php-devel-7.1.28-1.el7.remi.x86_64 (remi-php71)
             要求: libedit-devel(x86-64)
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

エラー: パッケージ: php-devel-7.1.28-1.el7.remi.x86_64 (remi-php71)
             要求: libedit-devel(x86-64)
 問題を回避するために --skip-broken を用いることができます。
 これらを試行できます: rpm -Va --nofiles --nodigest

何やらlibedit-develが足りんぞとのこと。
どこのリポジトリに入っているのか調べたんですが、よくわからず。CentOSには入っているみたいでだけどRedhatには入ってない。
libeditそのものはEPELから入るけど、libedit-develはない。わからないのでrpmからインストールして解決。

# rpm -ivh libedit-devel-3.0-12.20121213cvs.el7.x86_64.rpm