yum updateでエラー

yum updateでエラー

yum updateをしているとこんなエラーがでてきました。

エラー:  Multilib version problems found. This often means that the root
        cause is something else and multilib version checking is just
        pointing out that there is a problem. Eg.:

          1. You have an upgrade for lz4 which is missing some
             dependency that another package requires. Yum is trying to
             solve this by installing an older version of lz4 of the
             different architecture. If you exclude the bad architecture
             yum will tell you what the root cause is (which package
             requires what). You can try redoing the upgrade with
             --exclude lz4.otherarch ... this should give you an error
             message showing the root cause of the problem.

          2. You have multiple architectures of lz4 installed, but
             yum can only see an upgrade for one of those architectures.
             If you don't want/need both architectures anymore then you
             can remove the one with the missing update and everything
             will work.

          3. You have duplicate versions of lz4 installed already.
             You can use "yum check" to get yum show these errors.

        ...you can also use --setopt=protected_multilib=false to remove
        this checking, however this is almost never the correct thing to
        do as something else is very likely to go wrong (often causing
        much more problems).

 ||<

なんでしょうね。なんか重複しているようです。とりあえずyum checkしてみる。時間がかかるな。諦める。
yum listでチェック。
>||
# yum list | grep lz4
lz4.x86_64                           1.7.5-3.el7             @rhel-7-server-rpms
lz4.i686                           1.7.5-3.el7             @rhel-7-server-rpms
lz4.x86_64                           1.8.3-1.el7             installed
lz4.i686                             1.8.3-1.el7             installed

iz4.i686を削除する。

# yum remove lz4.i686

updateする。

# yum -y update lz4
読み込んだプラグイン:langpacks, product-id, search-disabled-repos, subscription-manager
依存性の解決をしています
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> トランザクションの確認を実行しています。
---> パッケージ lz4.x86_64 0:1.7.5-3.el7 を 更新
---> パッケージ lz4.x86_64 0:1.8.3-1.el7 を アップデート
--> 依存性解決を終了しました。

依存性を解決しました

==================================================================================================================
 Package             アーキテクチャー       バージョン                   リポジトリー                        容量
==================================================================================================================
更新します:
 lz4                 x86_64                 1.8.3-1.el7                  rhel-7-server-rpms                  85 k

トランザクションの要約
==================================================================================================================
更新  1 パッケージ

総ダウンロード容量: 85 k
Downloading packages:
No Presto metadata available for rhel-7-server-rpms
lz4-1.8.3-1.el7.x86_64.rpm                                                                 |  85 kB  00:00:00
Running transaction check
Running transaction test


Transaction check error:
  package lz4-1.8.3-1.el7.x86_64 is already installed

エラーの要約
-------------

なんだ、もうupdateされてるんですね。
とりあえずエラーは修正できました。