問題を引き起こすYUMパッケージ「NPM」

問題を引き起こすYUMパッケージ「NPM」

このようにnpmをインストールしようとすると

sudo yum install npm

次のエラーが発生します。

Fehler:  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 v8 which is missing some
         dependency that another package requires. Yum is trying to
         solve this by installing an older version of v8 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 v8.otherarch ... this should give you an error
         message showing the root cause of the problem.

      2. You have multiple architectures of v8 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 v8 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).

    Geschützte Multilib-Versionen: 1:v8-3.17.6.14-2.fc19.x86_64 != 1:v8-3.14.5.10-2.fc19.i686

私はFedora 19 x86_64を実行しています。

次のログがあります。 https://pastee.org/wetpc

ベストアンサー1

以前のバージョンがインストールされているようですv8(pastebinに「--->Package v8.x86_64 1:3.14.5.10-2.fc19 will be update」と表示されます)。 yumを介して正しく更新できません。依存関係)。

以下で確認できます。yum list installed | grep v8

次にv8を削除します。 (yum remove v8*これにより、v8に依存するすべてのパッケージが削除される可能性があります。その場合は、npmのインストール後に再インストールしてください。)

その後、npmをインストールできるはずです。

yum install npm

頑張ってください。

おすすめ記事