yumでupdateするときにconflictsエラーが出る場合 file xxx from install of xxx-jason conflicts with file from package xx.remi

yumでupdateするときに次のようなコンフリクト(conflict:衝突)エラーが出ることがあります。

Transaction Check Error:
  file /usr/lib/mysql/libmysqlclient.so.16.0.0 from install of mysql-5.1.52-jason.1.i386 conflicts with file from package mysql-libs-5.1.51-1.el5.remi.i386
  file /usr/lib/mysql/libmysqlclient_r.so.16.0.0 from install of mysql-5.1.52-jason.1.i386 conflicts with file from package mysql-libs-5.1.51-1.el5.remi.i386

この場合、リポジトリ(パッケージ配布元)の指定を変えるとアップデートできます。 上の例ではremiでインストールしたMySQLをjason(Utter Ramblings)でアップデートしようとしたときのエラーです。

yum --enablerepo=utterramblings update mysql

ではなく

yum --enablerepo=remi update mysql

としてアップデートするとエラーは出ません。

関連記事

スポンサーリンク

volume 音量を指定する

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る